aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/test_service_impl.h
diff options
context:
space:
mode:
authorGravatar Hope Casey-Allen <hcaseyal@google.com>2018-11-29 15:57:53 -0800
committerGravatar Hope Casey-Allen <hcaseyal@google.com>2018-11-29 15:57:53 -0800
commit470ea1784329ec5637b41455a8dbd2ea2b811b58 (patch)
tree072ecdd59f10ca804a1a2735a9881796e3c5ebb1 /test/cpp/end2end/test_service_impl.h
parent1b9df7d183f3a4f7d2bf02bb1ed8fae8ebe70c86 (diff)
Debugging unimplemented error in CheckClientInitialMetadata
Diffstat (limited to 'test/cpp/end2end/test_service_impl.h')
-rw-r--r--test/cpp/end2end/test_service_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/cpp/end2end/test_service_impl.h b/test/cpp/end2end/test_service_impl.h
index ddfe94487e..124d5e512b 100644
--- a/test/cpp/end2end/test_service_impl.h
+++ b/test/cpp/end2end/test_service_impl.h
@@ -36,6 +36,8 @@ const char* const kServerTryCancelRequest = "server_try_cancel";
const char* const kDebugInfoTrailerKey = "debug-info-bin";
const char* const kServerFinishAfterNReads = "server_finish_after_n_reads";
const char* const kServerUseCoalescingApi = "server_use_coalescing_api";
+const char* const kCheckClientInitialMetadataKey = "custom_client_metadata";
+const char* const kCheckClientInitialMetadataVal = "Value for client metadata";
typedef enum {
DO_NOT_CANCEL = 0,
@@ -95,6 +97,11 @@ class CallbackTestServiceImpl
EchoResponse* response,
experimental::ServerCallbackRpcController* controller) override;
+ void CheckClientInitialMetadata(
+ ServerContext* context, const SimpleRequest* request,
+ SimpleResponse* response,
+ experimental::ServerCallbackRpcController* controller) override;
+
// Unimplemented is left unimplemented to test the returned error.
bool signal_client() {
std::unique_lock<std::mutex> lock(mu_);