userver: ugrpc::client::CallContext Class Reference
Loading...
Searching...
No Matches
ugrpc::client::CallContext Class Reference

#include <userver/ugrpc/client/call_context.hpp>

Detailed Description

gRPC call context

Definition at line 20 of file call_context.hpp.

Public Member Functions

grpc::ClientContext & GetClientContext ()
 
std::string_view GetClientName () const noexcept
 
std::string_view GetCallName () const noexcept
 
tracing::SpanGetSpan () noexcept
 

Member Function Documentation

◆ GetCallName()

std::string_view ugrpc::client::CallContext::GetCallName ( ) const
noexcept
Returns
RPC name

◆ GetClientContext()

grpc::ClientContext & ugrpc::client::CallContext::GetClientContext ( )
Returns
the ClientContext used for this RPC

◆ GetClientName()

std::string_view ugrpc::client::CallContext::GetClientName ( ) const
noexcept
Returns
client name

◆ GetSpan()

tracing::Span & ugrpc::client::CallContext::GetSpan ( )
noexcept
Returns
RPC span

The documentation for this class was generated from the following file: