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

BindUpgradableConnection

The return type of Http::bind_upgradable_connection.

Http

An instance of the HTTP protocol, and implementation of tokio-proto's ServerProto trait.

Request

An HTTP Request

Response

An HTTP Response

Server

An instance of a server created through Http::bind.

Enums

UpgradableResponse

Either an HTTP response or a signal to upgrade from HTTP to another protocol.

Traits

NewService

Creates new Service values.

Service

An asynchronous function from Request to a Response.