Re: [grpc-io] Grpc C# Question on Reading from Response Stream

2016-10-18 Thread Naman Muley
Jan, Thanks for the reply. Apologies in delayed acknowledge. You are right. The problem was in my asynchronous calls to this particular piece of code. The above code works fine. Thanks, Naman On Thursday, October 6, 2016 at 2:12:40 AM UTC-4, Jan Tattermusch wrote: > > Hi, > > I skimmed throug

Re: [grpc-io] Grpc C# Question on Reading from Response Stream

2016-10-05 Thread 'Jan Tattermusch' via grpc.io
Hi, I skimmed through your code and it looks alright (perhaps I missed something?). What line does throw in your case? To answer your questions: The response stream is ready immediately after starting your call and you don't even need to send any requests nor close the request stream to be able

[grpc-io] Grpc C# Question on Reading from Response Stream

2016-10-04 Thread naman . g . muley
Hello, I am trying to work on a grpc C# client that initiates a subscription type call with a grpc server. I believe I sent the subscription correctly but am not able to read from the response stream correctly. I try to await on the AsyncEnumerator.MoveNext() task but I get a null reference exc