GRPC C++
1.30.0
|
#include <async_stream_impl.h>
Static Public Member Functions | |
template<class W > | |
static ClientAsyncReader< R > * | Create (::grpc::ChannelInterface *channel, ::grpc_impl::CompletionQueue *cq, const ::grpc::internal::RpcMethod &method, ::grpc_impl::ClientContext *context, const W &request, bool start, void *tag) |
Create a stream object. More... | |
|
inlinestatic |
Create a stream object.
Write the first request out if start is set. tag will be notified on cq when the call has been started and request has been written out. 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.