#include <userver/ugrpc/server/call_context.hpp>
generic gRPC call context
Definition at line 45 of file call_context.hpp.
Public Member Functions | |
void | SetMetricsCallName (std::string_view call_name) |
Set a custom call name for metric labels. | |
grpc::ServerContext & | GetServerContext () |
std::string_view | GetCallName () const |
Name of the RPC in the format full.path.ServiceName/MethodName | |
std::string_view | GetServiceName () const |
Get name of gRPC service. | |
std::string_view | GetMethodName () const |
Get name of called gRPC method. | |
|
inherited |
ServerContext
used for this RPC