Base classes for implementing and configuring http server middlewares.
Classes | |
class | server::middlewares::PipelineBuilder |
Base class to build a server-wide middleware pipeline. One may inherit from it and implement any custom logic, if desired. More... | |
class | server::middlewares::HandlerPipelineBuilder |
Base class to build a per-handler middleware pipeline. One may inherit from it and implement any custom logic, if desired. By default the behavior is to use the server-wide pipeline. More... | |
class | server::middlewares::HttpMiddlewareBase |
Base class for a http middleware. More... | |
class | server::middlewares::HttpMiddlewareFactoryBase |
Base class for a http middleware-factory. More... | |
class | server::middlewares::SimpleHttpMiddlewareFactory< Middleware > |
A short-cut for defining a middleware-factory. More... | |
Functions | |
components::ComponentList | server::middlewares::DefaultMiddlewareComponents () |
Returns a list of middleware-components which userver uses by default in http server. | |
components::ComponentList | server::middlewares::MinimalMiddlewareComponents () |
Returns a list of middleware-components required by userver to start a http server. | |
MiddlewaresList | server::middlewares::DefaultPipeline () |
Returns the default userver-provided middleware pipeline. | |
components::ComponentList server::middlewares::DefaultMiddlewareComponents | ( | ) |
Returns a list of middleware-components which userver uses by default in http server.
The list contains a bunch of middlewares into which most of http-handler functionality is split (metrics, tracing, deadline-propagation etc. etc.)
components::ComponentList server::middlewares::MinimalMiddlewareComponents | ( | ) |
Returns a list of middleware-components required by userver to start a http server.
Components in this list don't have any useful functionality, they are just infrastructure.