Crate http_service_hyper

Source
Expand description

HttpService server that uses Hyper as backend.

Structs§

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

Functions§

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