Module gotham::middleware [] [src]

Defines types for Middleware, a reusable unit of logic that can apply to a group of requests by being added to the Pipeline in a Router.

Modules

chain

Defines the types for connecting multiple middleware into a "chain" when forming a pipeline.

session

Defines a session middleware with a pluggable backend.

Traits

Middleware

Middleware has the opportunity to provide additional behaviour to the Request / Response interaction. For example:

NewMiddleware

A type which is used to spawn new Middleware values. When implementing a Middleware, this defines how instances of the Middleware are created.