GRPC C++  1.30.0
Static Public Member Functions
grpc_impl::internal::ClientAsyncResponseReaderFactory< R > Class Template Reference

#include <async_unary_call_impl.h>

Static Public Member Functions

template<class W >
static ClientAsyncResponseReader< R > * Create (::grpc::ChannelInterface *channel, ::grpc_impl::CompletionQueue *cq, const ::grpc::internal::RpcMethod &method, ::grpc_impl::ClientContext *context, const W &request, bool start)
 Start a call and write the request out if start is set. More...
 

Member Function Documentation

◆ Create()

template<class R >
template<class W >
static ClientAsyncResponseReader<R>* grpc_impl::internal::ClientAsyncResponseReaderFactory< R >::Create ( ::grpc::ChannelInterface channel,
::grpc_impl::CompletionQueue cq,
const ::grpc::internal::RpcMethod method,
::grpc_impl::ClientContext context,
const W &  request,
bool  start 
)
inlinestatic

Start a call and write the request out if start is set.

tag will be notified on cq when the call has been started (i.e. intitial metadata sent) and request has been written out. If start is not set, the actual call must be initiated by StartCall Note that context will be used to fill in custom initial metadata used to send to the server when starting the call.


The documentation for this class was generated from the following file: