Expand description
Middleware plugin trait and types for request/response interception.
Plugins can inspect or modify requests and optionally short-circuit
with a custom PluginResponse.
Structs§
- Plugin
Response - A short-circuit HTTP response produced by a middleware plugin.
- Request
Context - Request context passed to middleware plugins.
- Response
Headers - Response headers that middleware plugins can mutate in
on_response.
Enums§
- Request
Action - Actions a middleware plugin can take during request processing.
Traits§
- Middleware
Plugin - A plugin that hooks into the HTTP request/response lifecycle.