Module hyper::http[][src]

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.

h2

Adapts the solicit-provided HTTP/2 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.