Hi,
You can add service options inside { }. See
https://developers.google.com/protocol-buffers/docs/proto3#options (if you
don't know what message, service etc. options are, chances are you can
safely ignore they exist).Jan On Mon, Feb 20, 2017 at 10:33 PM, 王迁 <[email protected]> wrote: > There are two kind of service definition in grpc official guide, > > one is: > > service HelloService { > rpc SayHello (HelloRequest) returns (HelloResponse); // end with ;} > > > and the other is: > > service HelloService { > rpc SayHello (HelloRequest) returns (HelloResponse) {} // end with {}} > > > > Is there some difference between them? > > Thanks! > > -- > 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]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/08bdeeae-4aed-4fe6-969f-593e7c63fc56%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/08bdeeae-4aed-4fe6-969f-593e7c63fc56%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CACF4M0TWHNKywi3gd7TcTTnfOoU0cB95dOtwxYu7gVOVB0O-xA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
