Module hyper::http [] [src]

Pieces pertaining to the HTTP message protocol.

Reexports

pub use self::message::{HttpMessage, RequestHead, ResponseHead, 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.