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

Re-exported hyper HTTP library types.

Hyper

All types that are re-exported from Hyper resides inside of this module. These types will, with certainty, be removed with time, but they reside here while necessary.

Modules

h1

Adapts the HTTP/1.1 implementation into the HttpMessage API.

header

Headers container, and common header fields.

mime

Re-exporting the mime crate, for convenience.

net

A collection of traits abstracting over Listeners and Streams.

Structs

Request

A request bundles several parts of an incoming NetworkStream, given to a Handler.

Response

The outgoing half for a Tcp connection, created by a Server and given to a Handler.

Server

A server can listen on a TCP socket.

Enums

Method

The Request Method (VERB)

RequestUri

The Request-URI of a Request's StartLine.

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Traits

Handler

A handler that can handle incoming requests for a server.

Type Definitions

FreshResponse

Type alias to hyper::Response<'a, hyper::net::Fresh>.