Expand description
Generic request middleware: request IDs, tracing, timeouts, body limits, and CORS. Every helper here takes its policy (durations, byte limits, allowed origins/methods/headers) as parameters — none of it is Soma policy, only Axum/tower-http mechanics.
Modules§
- body_
limit - Generic request body size limit.
- cors
- Generic CORS configuration.
- request_
id - Request-ID middleware.
- timeout
- Generic per-request timeout.
- tracing
- Generic HTTP request tracing.