Skip to main content

Module middleware

Module middleware 

Source
Expand description

Middleware types for the OxiHTTP server.

Provides CORS, body size limits, rate limiting, timeouts, and logging as composable middleware layers.

Structsยง

BodyLimitConfig
Configuration for request body size limits.
CorsConfig
Configuration for Cross-Origin Resource Sharing (CORS).
MiddlewarePipeline
The middleware pipeline configuration for a server.
RateLimiter
Rate limiter using the token bucket algorithm.
TimeoutConfig
Configuration for request processing timeout.