Module hyper::httpExperimental
[-]
[+]
[src]
Pieces pertaining to the HTTP message protocol.
Structs
| LineEnding | A |
Enums
| HttpReader | Readers to handle different Transfer-Encodings. |
| HttpWriter | Writers to handle different Transfer-Encodings. |
Constants
pub const CR: u8 = b'\r' |
|
pub const LF: u8 = b'\n' |
|
pub const LINE_ENDING: &'static [u8] = &[CR, LF] |
|
pub const SP: u8 = b' ' |
|
pub const STAR: u8 = b'*' |
Functions
| is_token | Determines if byte is a token char. |
| read_header | Read a RawHeaderLine from a Reader. |
| read_http_version | Read the |
| read_method | Read a Note:Extension methods are only parsed to 16 characters. |
| read_request_line | Read the |
| read_status | Read the StatusCode from a stream. |
| read_status_line | Read the StatusLine, such as |
| read_uri | Read a |
Type Definitions
| RawHeaderLine | The raw bytes when parsing a header line. |
| RequestLine |
|
| StatusLine |
|