userver: server::middlewares Namespace Reference
Loading...
Searching...
No Matches
server::middlewares Namespace Reference

Detailed Description

HTTP server middlewares.

Namespaces

namespace  builtin
 Names of userver's built-in HTTP server middlewares.
 

Classes

class  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  HeadersPropagator
 
class  HeadersPropagatorFactory
 
class  HttpMiddlewareBase
 Base class for a http middleware. More...
 
class  HttpMiddlewareFactoryBase
 Base class for a http middleware-factory. More...
 
class  PipelineBuilder
 Base class to build a server-wide middleware pipeline. One may inherit from it and implement any custom logic, if desired. More...
 
class  SimpleHttpMiddlewareFactory
 A short-cut for defining a middleware-factory. More...
 

Typedefs

using MiddlewaresList = std::vector<std::string>
 

Functions

components::ComponentList DefaultMiddlewareComponents ()
 Returns a list of middleware-components which userver uses by default in http server.
 
components::ComponentList MinimalMiddlewareComponents ()
 Returns a list of middleware-components required by userver to start a http server.
 
MiddlewaresList DefaultPipeline ()
 Returns the default userver-provided middleware pipeline.
 

Typedef Documentation

◆ MiddlewaresList

using server::middlewares::MiddlewaresList = std::vector<std::string>

Definition at line 38 of file configuration.hpp.