1

While going through the docs of protobufjs and google protobuf official guide I noticed that there is a syntax difference between rpc declarations described by both -

  • Google protobuf guide -
    rpc SayHello (HelloRequest) returns (HelloReply)
  • ProtobufJS guide -
    rpc SayHello (HelloRequest) returns (HelloReply) {}

Notice the difference in {} at the end.

What is the significance of this ? And does it lead to a different code behavior ?

Reference -

97amarnathk
  • 957
  • 2
  • 11
  • 30

0 Answers0