Expand description
Default middleware chain construction for the pipeline.
One call to build_default_pipeline produces the ordered chain
from PIPELINE.md §Middleware. Order matters:
schema ingest runs before CSP rewrite so the schema store captures
the raw upstream CSP (cloud-backend contract), and envelope seal runs
last so content-inspecting middlewares operate on McpBuffered
before it becomes a sealed Raw.
Functions§
- build_
default_ pipeline - Build the baseline pipeline.
rewrite_configis shared with the middlewares that read it (CspRewrite,UrlMap) — swapping the innerArcvia.store()hot-reloads rules without restart.
Type Aliases§
- Proxy
Pipeline - Concrete
Pipelineinstantiation used in production. Middleware traits are object-safe (Box<dyn …>), but the router and transport are generic parameters that want concrete types at construction.