Available on crate feature
warp only.Expand description
Warp 0.4 composable filter integration.
Warp filters do not have an after-response middleware hook. The filter
returns WarpRequest; handlers call WarpRequest::record around their
reply to add decision headers and complete analytics.
Structs§
- ReqKey
Filter - Cloneable ReqKey filter factory.
- ReqKey
Rejection - Custom rejection generated by ReqKey policy.
- Warp
Request - Authorized request value extracted by
ReqKeyFilter.
Functions§
- recover
- Convert a ReqKey rejection into its stable JSON response.
Type Aliases§
- Infallible
Reply - Helper return type for infallible Warp handlers.