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
AddrIncoming |
A stream of connections from binding to an address. |
Connection |
A future binding a connection with a Service. |
Http |
An instance of the HTTP protocol, and implementation of tokio-proto's
|
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 |
Traits
NewService |
Creates new |
Service |
An asynchronous function from |
Functions
const_service |
Create a |
service_fn |
Create a |