aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar makdharma <makdharma@users.noreply.github.com>2016-10-12 10:53:56 -0700
committerGravatar GitHub <noreply@github.com>2016-10-12 10:53:56 -0700
commit5ef0c0041fa09d9db030fea16a9d4b4794a2521f (patch)
tree347e6099991f7e6d2d38483586cb05a23556c683 /src
parentfad04cc4adb9607ff6e0e14fa863e581c5574124 (diff)
parent82d7677ec9104e6e3bf57097591ef322758e6cfb (diff)
Merge pull request #8101 from makdharma/cacheable_unary
Add interop test for Cacheable Unary Calls
Diffstat (limited to 'src')
-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 84369db4b8..b52c4cbad6 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)