#include <userver/server/middlewares/configuration.hpp>
Base class to build a server-wide middleware pipeline. One may inherit from it and implement any custom logic, if desired.
Definition at line 49 of file configuration.hpp.
Public Member Functions | |
PipelineBuilder (const components::ComponentConfig &, const components::ComponentContext &) | |
virtual MiddlewaresList | BuildPipeline (MiddlewaresList userver_middleware_pipeline) const |
The method to build a server-wide middleware pipeline, one may override it if custom behavior is desired. | |
Public Member Functions inherited from components::LoggableComponentBase | |
LoggableComponentBase (const ComponentConfig &, const ComponentContext &) | |
LoggableComponentBase (LoggableComponentBase &&)=delete | |
LoggableComponentBase (const LoggableComponentBase &)=delete | |
~LoggableComponentBase () override=default | |
ComponentHealth | GetComponentHealth () const override |
void | OnLoadingCancelled () override |
void | OnAllComponentsLoaded () override |
void | OnAllComponentsAreStopping () override |
Static Public Member Functions | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Member Functions inherited from components::LoggableComponentBase | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
static constexpr std::string_view | kName |
Protected Member Functions | |
const MiddlewaresList & | GetMiddlewaresToAppend () const |
|
inlinevirtual |
The method to build a server-wide middleware pipeline, one may override it if custom behavior is desired.
userver_middleware_pipeline | default userver-provided middleware pipeline |
Definition at line 64 of file configuration.hpp.
|
staticconstexpr |
Definition at line 51 of file configuration.hpp.