#include <userver/ugrpc/client/middlewares/deadline_propagation/middleware.hpp>
middleware for RPC handler logging settings
Definition at line 11 of file middleware.hpp.
|
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.
|
|
◆ PostFinish()
virtual void ugrpc::client::MiddlewareBase::PostFinish |
( |
MiddlewareCallContext & | , |
|
|
const grpc::Status & | ) const |
|
virtualinherited |
This function is called after rpc, on each rpc. It does nothing by default.
- Note
- Could be not called in case of deadline or network problem
- See also
- RpcInterruptedError
◆ PostRecvMessage()
virtual void ugrpc::client::MiddlewareBase::PostRecvMessage |
( |
MiddlewareCallContext & | , |
|
|
const google::protobuf::Message & | ) const |
|
virtualinherited |
This function is called after receiving message, on each response. It does nothing by default.
- Note
- Not called for
GenericClient
messages
◆ PreSendMessage()
virtual void ugrpc::client::MiddlewareBase::PreSendMessage |
( |
MiddlewareCallContext & | , |
|
|
const google::protobuf::Message & | ) const |
|
virtualinherited |
This function is called before sending message, on each request. It does nothing by default.
- Note
- Not called for
GenericClient
messages
◆ PreStartCall()
void ugrpc::client::middlewares::deadline_propagation::Middleware::PreStartCall |
( |
MiddlewareCallContext & | | ) |
const |
|
overridevirtual |
◆ kDependency
const auto ugrpc::client::middlewares::deadline_propagation::Middleware::kDependency |
|
inlinestatic |
Initial value:
dependency of this middleware. Core group.
Definition at line 19 of file middleware.hpp.
The documentation for this class was generated from the following file: