Expand description
Production HTTP server built on hyper.
- HTTP/1.1 with keep-alive and HTTP/2 (h2c, and via TLS-terminating proxies) using hyper’s automatic protocol detection.
- Header read timeout (slowloris protection) and request timeouts.
- Graceful shutdown on SIGINT/SIGTERM.
- gzip compression for compressible responses, including streams.
TLS and HTTP/3 are expected to be terminated by a reverse proxy or load balancer (see the “Deployment” docs page).
Functions§
- into_
hyper - Convert a framework response into a hyper response.