Module gotham::pipeline

source ·
Expand description

Defines types for a middleware pipeline

Modules

Defines the types for connecting multiple pipeline handles into a “chain” when constructing the dispatcher for a route.
Defines the types for adding multiple pipelines into a PipelineSet and retaining a handle to each pipeline for constructing a PipelineHandleChain.
Defines helpers for applications that only require a single pipeline (i.e. only one set of middleware for the application).

Structs

When using middleware, one or more Middleware are combined to form a Pipeline. Middleware are invoked strictly in the order they’re added to the Pipeline.
Allows a pipeline to be defined by adding NewMiddleware values, and building a Pipeline.

Functions

Begins defining a new pipeline.
Constructs a pipeline from a single middleware.