#include <userver/ugrpc/client/middlewares/base.hpp>
Base class for client middleware component.
Public Member Functions | |
virtual std::shared_ptr< const MiddlewareFactoryBase > | GetMiddlewareFactory ()=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::client::middlewares::baggage::Component, ugrpc::client::middlewares::deadline_propagation::Component, and ugrpc::client::middlewares::log::Component.