template <class R>

class ClientReader

Defined at line 179 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h

Friend synchronous wrappers so that they can access Pluck(), which is

a semi-private API geared towards the synchronous implementation.

Public Methods

void WaitForInitialMetadata ()

See the

method for

semantics.

Side effect:

Once complete, the initial metadata read from

the server will be accessible through the

used to

construct this object.

Defined at line 188 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h

bool NextMessageSize (uint32_t * sz)

Defined at line 197 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h

bool Read (R * msg)

See the

method for semantics.

Side effect:

This also receives initial metadata from the server, if not

already received (if initial metadata is received, it can be then

accessed through the

associated with this call).

Defined at line 208 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h

grpc::Status Finish ()

See the

method for semantics.

Side effect:

The

associated with this call is updated with

possible metadata received from the server.

Defined at line 225 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h