aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/proto/grpc/testing/test.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/proto/grpc/testing/test.proto')
-rw-r--r--src/proto/grpc/testing/test.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/proto/grpc/testing/test.proto b/src/proto/grpc/testing/test.proto
index 801baf8b3b..d6ef58ab12 100644
--- a/src/proto/grpc/testing/test.proto
+++ b/src/proto/grpc/testing/test.proto
@@ -47,6 +47,11 @@ service TestService {
// One request followed by one response.
rpc UnaryCall(SimpleRequest) returns (SimpleResponse);
+ // One request followed by one response. Response has cache control
+ // headers set such that a caching HTTP proxy (such as GFE) can
+ // satisfy subsequent requests.
+ rpc CacheableUnaryCall(SimpleRequest) returns (SimpleResponse);
+
// One request followed by a sequence of responses (streamed download).
// The server returns the payload with client desired type and sizes.
rpc StreamingOutputCall(StreamingOutputCallRequest)