Crate http_service_hyper

Source
Expand description

HttpService server that uses Hyper as backend.

Structs§

Builder
A builder for a Server.
Server
A listening HTTP server that accepts connections in both HTTP1 and HTTP2 by default.

Functions§

run
Run the given HttpService at the given address on the default runtime, using hyper as backend.
serve
Serve the given HttpService at the given address, using hyper as backend, and return a Future that can be awaited on.