Expand description
Production HTTP serving: applies the ServerConfig to an axum::Router and
starts it on the configured bind addr, with optional TLS via axum-server.
Structs§
- Rate
Limiter - Request
Id - Typed wrapper for the per-request id, stored in
Request::extensionsby the request-id middleware. Handlers can pull it viareq.extensions().get::<RequestId>()(or via the axumExtension<RequestId>extractor).
Functions§
- apply_
layers - Apply every layer the server config calls for to the user’s web router,
then merge any static-file mounts. Returns a ready-to-serve
axum::Router. - serve