--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/a3941835-afcf-4a60-92fb-844a59837708%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prot...@googlegroups.com.
The typedef template above was generated properly and I was mislead by the template error message that was raised at compiled time. When invoking the Request session, the stream parameter passed was wrong.
mCallData->GetService()->RequestSession(&mCtx, &mStream,
mCallData->GetCompletionQueue(),
mCallData->GetCompletionQueue(), &mProceedFunction);
I mismatched request and response in the ServerAsyncReaderWriter declaration:
grpc::ServerAsyncReaderWriter<Response, Request> mStream
So to the question I was asking, yes, it is possible to have multiple rpc streams in a single grpc service.