#include <userver/ugrpc/server/middlewares/base.hpp>
Base class for middleware component.
Public Member Functions | |
virtual std::shared_ptr< MiddlewareBase > | GetMiddleware ()=0 |
Returns a middleware according to the component's settings. | |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from components::LoggableComponentBase | |
static yaml_config::Schema | GetStaticConfigSchema () |
|
pure virtual |
Returns a middleware according to the component's settings.
Implemented in ugrpc::server::middlewares::baggage::Component, ugrpc::server::middlewares::congestion_control::Component, ugrpc::server::middlewares::deadline_propagation::Component, and ugrpc::server::middlewares::log::Component.