#include <userver/ugrpc/client/middlewares/base.hpp>
◆ PostFinish()
virtual void ugrpc::client::MiddlewareBase::PostFinish |
( |
MiddlewareCallContext & | , |
|
|
const grpc::Status & | ) const |
|
virtual |
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 |
|
virtual |
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 |
|
virtual |
This function is called before sending message, on each request. It does nothing by default.
- Note
- Not called for
GenericClient
messages
The documentation for this class was generated from the following file:
- userver/ugrpc/client/middlewares/base.hpp