Hi,
I have a scenario which is described with the following:
gRPC Version is : 1.19.0
i am streaming data from server to client by using API IServerStreamWriter.
On the Client side i am trying to read the streamed data by using IAsyncStreamReader :
while (await call.ResponseStream.MoveNext().ConfigureAwait(false))
{
......
}
Since there are no data streamed from client side, i found that i am not getting out of this loop (client side) as fast as i expected.
First Question : Do i need to set the completeness of the streaming from the server side.
Second Question : Am i able (On the client side) to check that the streaming (ResponseStream) is Completed?
otherwise this Call call.ResponseStream.MoveNext() causes some exception, because this call tries to pick up unavailable data.
Third Question : Is there any possibilities to define some time out for waiting the data on the client side.
I have so far checked what is provided by the API on the server side IServerStreamWriter, and on the client side IAsyncStreamReader, which it doesn't help me to achieve my Goal.
Do i need to get a new upgraded gRPC version, which could help me further?
Thanks a lot for any help.
Best regards
Anas
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/838a3385-6b08-4d88-a258-8b0467ea6253n%40googlegroups.com.
Mya Pitzeruse
Principal Software Engineer - Service Infrastructure
Gender Pronouns: She, Her, Hers
Indeed - We help people get jobs.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/fbc6b88d-6f2d-4b65-b051-e30f41d7e9can%40googlegroups.com.