aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/interop/test.proto
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2016-06-17 13:06:36 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2016-06-17 13:06:36 -0700
commita66e075144fe3219ea2bf0371e502286c51ddebc (patch)
tree9f37b11fe8343b05b7a36b9f1de2236100c1cedb /src/php/tests/interop/test.proto
parent83d8e3740e28080c4dff1e3660a4f2a1b843ce14 (diff)
php: there is an unimplemented service
Diffstat (limited to 'src/php/tests/interop/test.proto')
-rw-r--r--src/php/tests/interop/test.proto8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/php/tests/interop/test.proto b/src/php/tests/interop/test.proto
index da03237a93..57ef30ee1c 100644
--- a/src/php/tests/interop/test.proto
+++ b/src/php/tests/interop/test.proto
@@ -1,5 +1,5 @@
-// Copyright 2015, Google Inc.
+// Copyright 2015-2016, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -68,7 +68,11 @@ service TestService {
// first request.
rpc HalfDuplexCall(stream StreamingOutputCallRequest)
returns (stream StreamingOutputCallResponse);
+}
- // An unimplemented method on the server
+// A simple service NOT implemented at servers so clients can test for
+// that case.
+service UnimplementedService {
+ // A call that no server should implement
rpc UnimplementedCall(grpc.testing.EmptyMessage) returns (grpc.testing.EmptyMessage);
}