GRPC C++  1.26.0
Static Public Member Functions
grpc_impl::internal::ClientAsyncReaderWriterFactory< W, R > Class Template Reference

#include <async_stream_impl.h>

Static Public Member Functions

static ClientAsyncReaderWriter< W, R > * Create (::grpc::ChannelInterface *channel, ::grpc_impl::CompletionQueue *cq, const ::grpc::internal::RpcMethod &method, ::grpc_impl::ClientContext *context, bool start, void *tag)
 Create a stream object. More...
 

Member Function Documentation

◆ Create()

template<class W , class R >
static ClientAsyncReaderWriter<W, R>* grpc_impl::internal::ClientAsyncReaderWriterFactory< W, R >::Create ( ::grpc::ChannelInterface channel,
::grpc_impl::CompletionQueue cq,
const ::grpc::internal::RpcMethod method,
::grpc_impl::ClientContext context,
bool  start,
void *  tag 
)
inlinestatic

Create a stream object.

Start the RPC request if start is set. tag will be notified on cq when the call has been started (i.e. intitial metadata sent). If start is not set, tag must be nullptr and 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: