Module hyper::server [] [src]

HTTP Server

A Server is created to listen on a port, parse HTTP requests, and hand them off to a Service.

Structs

Listening

A handle of the running server.

Request

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

Response

The Response sent to a client after receiving a Request in a Service.

Server

A Server that can accept incoming network requests.

ServerLoop

A configured Server ready to run.

Traits

Accept

An Acceptor is an incoming Stream of Io.

NewService

Creates new Service values.

Service

An asynchronous function from Request to a Response.