[−][src]Module http_parser::parser
Structs
| Body | The |
| Header | The |
| HttpRequestParser | The |
| Method | The method of the request line. |
| Request | The HTTP request structure. |
| RequestLine | The |
| Uri | The URI of the request line. |
| Version | The HTTP version part of the request line. |
Enums
| ParsingError | Errors types for the parser. |
Traits
| Parse | The provides the means of state transition for the parser,
it provides a single function |
| RequestLineParserState | A trait for request line parser states. |
| RequestParserState | A trait for the request parser states. |
Functions
| is_crlf | Check if a pair of bytes are CRLF. |
| is_valid_method | Checks if the given string slice is a valid HTTP method according to IETF RFC 2616 5.1.1. |
| is_valid_version | Checks if the HTTP version is a valid version. |
| is_whitespace | Check if a byte is whitespace. |
Type Definitions
| RequestLineParser | Short form for |
| Result | Possible transitions which can error return |