asio-grpc v3.4.0
Asynchronous gRPC with Asio/unified executors
Loading...
Searching...
No Matches
agrpc::detail::ClientRPCContextBase< Responder > Class Template Reference

ClientRPC grpc::ClientContext base. More...

#include <agrpc/detail/client_rpc_context_base.hpp>

+ Inheritance diagram for agrpc::detail::ClientRPCContextBase< Responder >:

Public Member Functions

grpc::ClientContext & context ()
 Get the underlying grpc::ClientContext
 
const grpc::ClientContext & context () const
 Get the underlying grpc::ClientContext (const overload)
 
void cancel () noexcept
 Cancel this RPC.
 

Detailed Description

template<class Responder>
class agrpc::detail::ClientRPCContextBase< Responder >

ClientRPC grpc::ClientContext base.

Since
2.6.0

Member Function Documentation

◆ cancel()

template<class Responder >
void agrpc::detail::ClientRPCContextBase< Responder >::cancel ( )
inlinenoexcept

Cancel this RPC.

Effectively calls context().TryCancel().

Thread-safe