Expand description
Composition of HTTP middleware pipelines.
This module is deliberately free of any manifest, lockfile, trigger or executor types: it operates purely on component bytes plus the capability configuration each middleware is allowed to inherit, so that any embedding can reuse it regardless of how it discovers and loads middleware.
Structs§
- Middleware
- A middleware component to be composed into a pipeline.
Constants§
- MIDDLEWARE_
HANDLER_ INTERFACE - The interface an HTTP middleware component both imports (to forward a request to the next component in the pipeline) and exports (to receive a request from the previous one).
Functions§
- compose_
middleware_ pipeline - Composes
middlewaresinto a pipeline in front of theprimarycomponent.