diff options
Diffstat (limited to 'third_party/protobuf/3.6.0/php/tests/proto/test_service.proto')
-rw-r--r-- | third_party/protobuf/3.6.0/php/tests/proto/test_service.proto | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/protobuf/3.6.0/php/tests/proto/test_service.proto b/third_party/protobuf/3.6.0/php/tests/proto/test_service.proto new file mode 100644 index 0000000000..a03dbc46d7 --- /dev/null +++ b/third_party/protobuf/3.6.0/php/tests/proto/test_service.proto @@ -0,0 +1,18 @@ +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; +} |