I notice that when RPC methods are defined in a proto file, they are all sync APIs. Is there a way to define async methods? Thanks.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
Are you using grpc? You can post grpc related questions to https://groups.google.com/forum/#!forum/grpc-io
On Tue, Nov 15, 2016 at 4:03 PM, <song...@hotmail.com> wrote:
I notice that when RPC methods are defined in a proto file, they are all sync APIs. Is there a way to define async methods? Thanks.
--
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.
Thanks for the reply. I am not using gRPC. I want to use protobuf to define RPC, but have a separate or customized transport implementation.
On Tuesday, November 15, 2016 at 4:30:12 PM UTC-8, Feng Xiao wrote:Are you using grpc? You can post grpc related questions to https://groups.google.com/forum/#!forum/grpc-ioOn Tue, Nov 15, 2016 at 4:03 PM, <song...@hotmail.com> wrote:I notice that when RPC methods are defined in a proto file, they are all sync APIs. Is there a way to define async methods? Thanks.--
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 post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
Yes, I agree with you that it is all dependent on the generated code. So does protobuf compiler provide the option to generate async APIs? If not, how complicated will it be to modify the complier?
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscribe@googlegroups.com.