#include <userver/ugrpc/client/middlewares/base.hpp>
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.
Public Member Functions | |
| grpc::ClientContext & | GetClientContext () noexcept |
| std::string_view | GetClientName () const noexcept |
| std::string_view | GetCallName () const noexcept |
| RpcType | GetRpcType () const noexcept |
| tracing::Span & | GetSpan () noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |