Hi all,
I have a GRPC streaming API in C++ that streams from the client to the server.
rpc TransferResultChunk(stream TransferResultChunkRequest) returns (TransferResultChunkResponse) {}
The server may cancel the context and close the stream at any time. Is there a way for the client to detect that this has occurred without writing to the stream? I was thinking there would be something like IsCancelled() like grpc::ServerContext has in grpc::ClientContext, but it doesn't seem to exist.
It does seem to be possible in Golang, so I thought I would see if I was missing something on the C++ side.
Thanks a lot,
Natalie