Expand description
Adapts the HTTP/1.1 implementation into the HttpMessage
API.
Structs§
- EndError
- Http11
Message - An implementation of the
HttpMessage
trait for HTTP/1.1. - Http11
Protocol - The
Protocol
implementation provides HTTP/1.1 messages. - Incoming
- An Incoming Message head. Includes request/status line, and headers.
Enums§
- Http
Reader - Readers to handle different Transfer-Encodings.
- Http
Writer - Writers to handle different Transfer-Encodings.
Constants§
- CR
- The
\r
byte. - LF
- The
\n
byte. - LINE_
ENDING - The bytes
\r\n
.
Functions§
- parse_
request - Parses a request into an Incoming message head.
- parse_
response - Parses a response into an Incoming message head.