Context for middleware-specific data during gRPC call.
More...
#include <userver/ugrpc/client/middlewares/base.hpp>
|
void | Next () |
| Call next plugin, or gRPC handler if none.
|
|
CallAnyBase & | GetCall () |
| Get original gRPC Call.
|
|
const ::google::protobuf::Message * | GetInitialRequest () |
| Get initial gRPC request. For RPC w/o initial request returns nullptr.
|
|
Context for middleware-specific data during gRPC call.
It is created for each gRPC Call and it stores aux. data used by middlewares. Each registered middleware is called by Middleware::Handle
with the context passed as an argument. A middleware may access Call and initial request (if any) using the context.
Definition at line 26 of file base.hpp.
The documentation for this class was generated from the following file:
- userver/ugrpc/client/middlewares/base.hpp