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

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.

Traits

NewService

Creates new Service values.

Service

An asynchronous function from Request to a Response.