Recv receives the next response message from the server. The client may repeatedly call Recv to read messages from the response stream. If io.EOF is returned, the stream has terminated with an OK status. Any other error is compatible with the status package and indicates the RPC's status code and
()
| 125 | // other error is compatible with the status package and indicates the |
| 126 | // RPC's status code and message. |
| 127 | Recv() (*Res, error) |
| 128 | |
| 129 | // ClientStream is embedded to provide Context, Header, Trailer, and |
| 130 | // CloseSend functionality. No other methods in the ClientStream should be |
no outgoing calls