#include <userver/ugrpc/server/middlewares/base.hpp>
Context for middleware-specific data during gRPC call.
Public Member Functions | |
| void | Next () | 
| Call next plugin, or gRPC handler if none.  | |
| CallAnyBase & | GetCall () | 
| 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::Snapshot & | GetInitialDynamicConfig () 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.  | |