Expand description
The hyper-based HTTP/1.1 serving engine that drives an App over a real
socket.
Most applications never call into this module directly — App::start and
App::start_with_shutdown bind a listener and delegate to serve. It is
public so advanced callers can drive serving with a custom address and
shutdown signal.
Functions§
- serve
- Serve
apponaddruntilshutdownresolves (graceful drain). - serve_
many - Serve on several addresses at once, until
shutdownresolves. - serve_
on - Serve
appon an already-bound listener untilshutdownresolves. - serve_
unix - Serve on a Unix domain socket instead of TCP.