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

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

Detailed Description

gRPC call context

Definition at line 15 of file call_context.hpp.

+ Inheritance diagram for ugrpc::server::CallContext:

Public Member Functions

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.
 

Member Function Documentation

◆ GetServerContext()

grpc::ServerContext & ugrpc::server::CallContext::GetServerContext ( )
Returns
the ServerContext used for this RPC

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