Expand description
HTTP middleware for security, rate limiting, and authentication.
Structs§
- Auth
Config - Configuration for API key authentication.
- Auth
State - State for authentication middleware.
- Rate
Limit Config - Configuration for rate limiting.
- Rate
Limit State - State for rate limiting middleware.
Enums§
- Rate
Limit Key - Rate limiting strategy.
Functions§
- api_
key_ auth - API key authentication middleware.
- rate_
limit - Rate limiting middleware.
- security_
headers - Add security headers to all responses.