Skip to main content

Module server

Module server 

Source
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§

RateLimiter

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