16 lines
189 B
Protocol Buffer
Raw Normal View History

2017-04-24 09:20:30 +02:00
syntax = "proto3";
package example;
service Sum {
rpc Sum(SumRequest) returns (SumReply) {};
}
message SumRequest {
int32 a = 1;
int32 b = 2;
}
message SumReply {
int32 c = 1;
}