Your opinion will help to improve our service
Leave a feedback >#include <userver/ugrpc/client/middlewares/deadline_propagation/middleware.hpp>
middleware for RPC handler logging settings
Definition at line 10 of file middleware.hpp.
Public Member Functions | |
void | PreStartCall (MiddlewareCallContext &context) const override |
This function is called before rpc, on each rpc. It does nothing by default. | |
virtual void | PreSendMessage (MiddlewareCallContext &, const google::protobuf::Message &) const |
This function is called before sending message, on each request. It does nothing by default. | |
virtual void | PostRecvMessage (MiddlewareCallContext &, const google::protobuf::Message &) const |
This function is called after receiving message, on each response. It does nothing by default. | |
virtual void | PostFinish (MiddlewareCallContext &, const grpc::Status &) const |
This function is called after rpc, on each rpc. It does nothing by default. | |
Static Public Attributes | |
static constexpr std::string_view | kName = "grpc-client-deadline-propagation" |
The default name of ugrpc::client::middlewares::deadline_propagation::Component. | |
static const auto | kDependency |
dependency of this middleware. Core group. | |
|
virtualinherited |
This function is called after rpc, on each rpc. It does nothing by default.
Reimplemented in ugrpc::client::middlewares::testsuite::Middleware.
|
virtualinherited |
This function is called after receiving message, on each response. It does nothing by default.
GenericClient
messages Reimplemented in grpc_protovalidate::client::Middleware.
|
virtualinherited |
This function is called before sending message, on each request. It does nothing by default.
GenericClient
messages
|
overridevirtual |
This function is called before rpc, on each rpc. It does nothing by default.
Reimplemented from ugrpc::client::MiddlewareBase.
|
inlinestatic |
dependency of this middleware. Core group.
Definition at line 18 of file middleware.hpp.