Expand description
Pieces pertaining to the HTTP message protocol.
Re-exports§
pub use self::message::HttpMessage;
pub use self::message::RequestHead;
pub use self::message::ResponseHead;
pub use self::message::Protocol;
Modules§
- h1
- Adapts the HTTP/1.1 implementation into the
HttpMessage
API. - message
- Defines the
HttpMessage
trait 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.
Functions§
- should_
keep_ alive - Checks if a connection should be kept alive.