Module http

Module http 

Source
Expand description

Pieces pertaining to the HTTP 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.
RequestHead
Describes a request.
ResponseHead
Describes a response.

Traits§

HttpMessage
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.