Expand description
Pieces pertaining to the HTTP message protocol.
Modules§
- h1
- Adapts the HTTP/1.1 implementation into the
HttpMessageAPI. - message
- Defines the
HttpMessagetrait that serves to encapsulate the operations of a single request-response cycle on any HTTP connection.
Structs§
- RawStatus
- The raw status code and reason-phrase.
- Request
Head - Describes a request.
- Response
Head - Describes a response.
Traits§
- Http
Message - The trait provides an API for sending an receiving HTTP messages.
- Protocol
- The trait provides an API for creating new
HttpMessages depending on the underlying HTTP protocol.
Functions§
- should_
keep_ alive - Checks if a connection should be kept alive.