Synchronous (blocking) client-side API for bi-directional streaming RPCs, where the outgoing message stream coming from the client has messages of type W, and the incoming messages stream coming from the server has messages of type R.
More...
#include <client_context.h>
template<class W, class R>
class grpc::ClientReaderWriter< W, R >
Synchronous (blocking) client-side API for bi-directional streaming RPCs, where the outgoing message stream coming from the client has messages of type W, and the incoming messages stream coming from the server has messages of type R.
◆ Finish()
template<class W , class R >
See the ClientStreamingInterface.Finish method for semantics.
Side effect:
- the ClientContext associated with this call is updated with possible trailing metadata sent from the server.
◆ NextMessageSize()
template<class W , class R >
◆ Read()
template<class W , class R >
See the ReaderInterface.Read method for semantics.
Side effect: Also receives initial metadata if not already received (updates the ClientContext associated with this call in that case).
◆ WaitForInitialMetadata()
template<class W , class R >
Block waiting to read initial metadata from the server.
This call is optional, but if it is used, it cannot be used concurrently with or after the Finish method.
Once complete, the initial metadata read from the server will be accessible through the ClientContext used to construct this object.
◆ Write()
template<class W , class R >
◆ WritesDone()
template<class W , class R >
◆ internal::ClientReaderWriterFactory< W, R >
template<class W , class R >
The documentation for this class was generated from the following files: