Module http_header::header
source · Expand description
A HTTP header implementation that can parse, create and serialize arbitrary HTTP/1.0 and HTTP/1.1 request and response headers.
Structs§
- A HTTP-response header builder
- A HTTP request header
- A HTTP-response header builder
- A HTTP response header
Functions§
- Parses a HTTP request header from
bytes - Parses a HTTP response header from
bytes - Reads from
sourceintobufuntil a HTTP-header-end is matched orbufis filled completely