Expand description
Middleware types for the OxiHTTP server.
Provides CORS, body size limits, rate limiting, timeouts, and logging as composable middleware layers.
Structsยง
- Body
Limit Config - Configuration for request body size limits.
- Cors
Config - Configuration for Cross-Origin Resource Sharing (CORS).
- Middleware
Pipeline - The middleware pipeline configuration for a server.
- Rate
Limiter - Rate limiter using the token bucket algorithm.
- Timeout
Config - Configuration for request processing timeout.