template <class W, class R>

class ServerReaderWriter

Defined at line 794 of file ../../third_party/grpc/src/include/grpcpp/support/sync_stream.h

Synchronous (blocking) server-side API for a bidirectional

streaming call, where the incoming message stream coming from the client has

messages of type

and the outgoing message streaming coming from

the server has messages of type

Public Methods

void SendInitialMetadata ()

See the

method

for semantics. Note that initial metadata will be affected by the

associated with this call.

Defined at line 799 of file ../../third_party/grpc/src/include/grpcpp/support/sync_stream.h

bool NextMessageSize (uint32_t * sz)

Defined at line 801 of file ../../third_party/grpc/src/include/grpcpp/support/sync_stream.h

bool Read (R * msg)

Defined at line 805 of file ../../third_party/grpc/src/include/grpcpp/support/sync_stream.h

bool Write (const W & msg, grpc::WriteOptions options)

Defined at line 813 of file ../../third_party/grpc/src/include/grpcpp/support/sync_stream.h