15 lines
221 B
Protocol Buffer
15 lines
221 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ticket_exchange;
|
|
|
|
service StartHandshake {
|
|
rpc SayHello (HelloRequest) returns (HelloReply);
|
|
}
|
|
|
|
service HelloRequest {
|
|
string name = 1;
|
|
}
|
|
|
|
message HelloReply {
|
|
string message = 1;
|
|
} |