Hello, I would recommend seeing test/cpp/qps/async_end2end_test.cc , particularly the SimpleServerStreaming code. This is a case where there is a client-side simple request that leads to a server returning a stream of responses, all of which are async. Hope that helps! Vijay
On Sunday, July 10, 2016 at 11:20:59 PM UTC-7, [email protected] wrote: > > > Any if used GRPC Asynch Client and Server with RPC using Stream Message, > please share some information. > GRPC example HelloWorld( async greeter) does not use stream message. > > I will be using something like: > > In Proto: > > Service xyz > { > rpc Req1(Reqmsg) returns (stream events) {} > > --Instead of > > rpc SayHello (HelloRequest) returns (HelloReply) {} > } > > Few of difference I could figure out: > > Instead of ServerAsyncResponseWriter, ClientAsyncResponseReader; we have > to use: ServerAsyncWriter and ClientAsyncReader. > > Please share some information if anyone came across such implementations. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/e22d52dd-72a3-43fd-a6a4-d06faadb39de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
