naiveproxy/third_party/protobuf/php/tests/proto/test_service.proto

19 lines
295 B
Protocol Buffer
Raw Normal View History

2018-12-10 05:59:24 +03:00
syntax = "proto3";
package foo;
option php_generic_services = true;
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply) {}
rpc SayHelloAgain (HelloRequest) returns (HelloReply) {}
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}