Module actix_web::middleware
source · Expand description
A collection of common middleware.
Structs
- Middleware for enabling any middleware to be used in
Resource::wrap
, andCondition
. - Middleware for compressing response payloads.
- Middleware for conditionally enabling other middleware.
- Middleware for setting default response headers.
- Middleware for registering custom status code based error handlers.
- Middleware for logging request and response summaries to the terminal.
- Middleware for normalizing a request’s path so that routes can be matched more flexibly.
Enums
- Return type for
ErrorHandlers
custom handlers. - Determines the behavior of the
NormalizePath
middleware.