userver: ugrpc::server::MiddlewareCallContext Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
ugrpc::server::MiddlewareCallContext Class Referencefinal

Context for middleware-specific data during gRPC call. More...

#include <userver/ugrpc/server/middlewares/base.hpp>

Public Member Functions

void Next ()
 Call next plugin, or gRPC handler if none.
 
CallAnyBaseGetCall ()
 Get original gRPC Call.
 
std::string_view GetServiceName () const
 Get name of gRPC service.
 
std::string_view GetMethodName () const
 Get name of called gRPC method.
 
const dynamic_config::SnapshotGetInitialDynamicConfig () const
 Get values extracted from dynamic_config. Snapshot will be deleted when the last meddleware completes.
 
const ::google::protobuf::Message * GetInitialRequest ()
 Get initial gRPC request. For RPC w/o initial request returns nullptr.
 

Detailed Description

Context for middleware-specific data during gRPC call.

Definition at line 20 of file base.hpp.


The documentation for this class was generated from the following file:
  • userver/ugrpc/server/middlewares/base.hpp