GRPC C++
1.66.0
|
Client-side interface for streaming reads of message of type R. More...
#include <sync_stream.h>
Public Member Functions | |
virtual void | WaitForInitialMetadata ()=0 |
Block to wait for initial metadata from server. More... | |
Public Member Functions inherited from grpc::internal::ClientStreamingInterface | |
virtual | ~ClientStreamingInterface () |
virtual grpc::Status | Finish ()=0 |
Block waiting until the stream finishes and a final status of the call is available. More... | |
Public Member Functions inherited from grpc::internal::ReaderInterface< R > | |
virtual | ~ReaderInterface () |
virtual bool | NextMessageSize (uint32_t *sz)=0 |
Get an upper bound on the next message size available for reading on this stream. More... | |
virtual bool | Read (R *msg)=0 |
Block to read a message and parse to msg. More... | |
Client-side interface for streaming reads of message of type R.
|
pure virtual |
Block to wait for initial metadata from server.
The received metadata can only be accessed after this call returns. Should only be called before the first read. Calling this method is optional, and if it is not called the metadata will be available in ClientContext after the first read.