Module lexa_framework::middleware
source · Modules
- Future types.
Structs
- Middleware for adding some shareable value to request extensions.
- Middleware that runs an extractor and discards the value.
Layerthat appliesFromExtractorthat runs an extractor and discards the value.- A middleware created from an async function.
- A
tower::Layerfrom an async function. - A middleware created from an async function that transforms a request.
- A
tower::Layerfrom an async function that transforms a request. - A middleware created from an async function that transforms a response.
- A
tower::Layerfrom an async function that transforms a response. - The remainder of a middleware stack, including the handler.
Traits
- Trait implemented by types that can be returned from
map_request,map_request_with_state.
Functions
- Create a middleware from an extractor.
- Create a middleware from an extractor with the given state.
- Create a middleware from an async function.
- Create a middleware from an async function with the given state.
- Create a middleware from an async function that transforms a request.
- Create a middleware from an async function that transforms a request, with the given state.
- Create a middleware from an async function that transforms a response.
- Create a middleware from an async function that transforms a response, with the given state.