Module rocket::http::hyper::h1[][src]

Expand description

Adapts the HTTP/1.1 implementation into the HttpMessage API.

Structs

EndError
Http11Message

An implementation of the HttpMessage trait for HTTP/1.1.

Http11Protocol

The Protocol implementation provides HTTP/1.1 messages.

Incoming

An Incoming Message head. Includes request/status line, and headers.

Enums

HttpReader

Readers to handle different Transfer-Encodings.

HttpWriter

Writers to handle different Transfer-Encodings.

Constants

CR

The \r byte.

LF

The \n byte.

LINE_ENDING

The bytes \r\n.

Functions

parse_request

Parses a request into an Incoming message head.

parse_response

Parses a response into an Incoming message head.