Skip to main content

Crate aster_forge_actix_middleware

Crate aster_forge_actix_middleware 

Source
Expand description

Shared Actix Web middleware for Aster services.

This crate contains HTTP middleware that is tied to Actix Web rather than to a product domain. It keeps framework-specific code out of aster_forge_api, which remains focused on framework-neutral response and pagination helpers.

Modulesยง

client_ip
Actix helpers for trusted-proxy-aware client IP extraction.
cors
Runtime CORS middleware for Actix Web services.
csrf
CSRF helpers for Actix Web services.
metrics
HTTP request metrics middleware for Actix Web services.
rate_limit
Shared Actix rate-limit building blocks.
request_id
Request id middleware.
security_headers
Default security response headers for Actix Web services.