#include <userver/server/middlewares/http_middleware_base.hpp>
A short-cut for defining a middleware-factory.
Definition at line 81 of file http_middleware_base.hpp.
Public Member Functions | |
HttpMiddlewareFactoryBase (const components::ComponentConfig &, const components::ComponentContext &) | |
Public Member Functions inherited from server::middlewares::HttpMiddlewareFactoryBase | |
HttpMiddlewareFactoryBase (const components::ComponentConfig &, const components::ComponentContext &) | |
std::unique_ptr< HttpMiddlewareBase > | CreateChecked (const handlers::HttpHandlerBase &handler, yaml_config::YamlConfig middleware_config) const |
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 Attributes | |
static constexpr std::string_view | kName = Middleware::kName |
Additional Inherited Members | |
Static Public Member Functions inherited from components::LoggableComponentBase | |
static yaml_config::Schema | GetStaticConfigSchema () |
Protected Member Functions inherited from server::middlewares::HttpMiddlewareFactoryBase | |
virtual yaml_config::Schema | GetMiddlewareConfigSchema () const |
This method should return the schema of a middleware configuration, if any. You may override it. | |
|
staticconstexpr |
Definition at line 83 of file http_middleware_base.hpp.