#include <userver/ugrpc/client/call_context.hpp>
gRPC call context
Definition at line 19 of file call_context.hpp.
Public Member Functions | |
| grpc::ClientContext & | GetClientContext () |
| Returns the context of the last RPC attempt. | |
| std::string_view | GetClientName () const noexcept |
| std::string_view | GetCallName () const noexcept |
|
noexcept |
| grpc::ClientContext & ugrpc::client::CallContext::GetClientContext | ( | ) |
Returns the context of the last RPC attempt.
For unary RPCs, the call must have completed successfully or with ugrpc::client::ErrorWithStatus. Metadata access must follow the preconditions of the respective gRPC accessor.
|
noexcept |