grpc / grpc.github.io

The grpc.io website. (on GitHub pages)
277 stars 382 forks source link

Update go client streaming example #833

Closed Teddy-Schmitz closed 5 years ago

Teddy-Schmitz commented 5 years ago

When the server returns an error during a client-streaming RPC the error on the client side will be io.EOF in order to get the real message back from the server you need to call stream.CloseAndRecv() and then log that.

menghanl commented 5 years ago

@srini100 It seems I don't have permission to approve and merge. Can you help me to merge this? Thanks!

carl-mastrangelo commented 5 years ago

@Teddy-Schmitz merged, thanks!

menghanl commented 5 years ago

Thank you @carl-mastrangelo