soma_http_server/middleware.rs
1//! Generic request middleware: request IDs, tracing, timeouts, body limits,
2//! and CORS. Every helper here takes its policy (durations, byte limits,
3//! allowed origins/methods/headers) as parameters — none of it is Soma
4//! policy, only Axum/tower-http mechanics.
5
6pub mod body_limit;
7pub mod cors;
8pub mod request_id;
9pub mod timeout;
10pub mod tracing;