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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to