[][src]Module hyper::server

HTTP Server

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

Re-exports

pub use self::conn::Connection;

Modules

conn

Lower-level Server connection API.

Structs

AddrIncoming

A stream of connections from binding to an address.

Http

A configuration of the HTTP protocol.

Request

An HTTP Request

Response

An HTTP Response

Serve

A stream mapping incoming IOs to new services.

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.

Functions

const_service

Create a NewService by sharing references of `service.

service_fn

Create a Service from a function.