aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/interceptors_util.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-12-28 16:03:20 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-12-28 16:03:20 -0800
commitaecc5f7285faedec634c99aff0b48eea86d3861a (patch)
treed130098b018c5576000a8598eb50e9f4252d7b7e /test/cpp/end2end/interceptors_util.h
parentfc7d0911a3a44d7bc926d3db99b7300a0c0f33dc (diff)
Add client interceptor test for bidi streaming hijacking interceptor
Diffstat (limited to 'test/cpp/end2end/interceptors_util.h')
-rw-r--r--test/cpp/end2end/interceptors_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/end2end/interceptors_util.h b/test/cpp/end2end/interceptors_util.h
index 659e613d2e..419845e5f6 100644
--- a/test/cpp/end2end/interceptors_util.h
+++ b/test/cpp/end2end/interceptors_util.h
@@ -165,6 +165,9 @@ void MakeCallbackCall(const std::shared_ptr<Channel>& channel);
bool CheckMetadata(const std::multimap<grpc::string_ref, grpc::string_ref>& map,
const string& key, const string& value);
+bool CheckMetadata(const std::multimap<grpc::string, grpc::string>& map,
+ const string& key, const string& value);
+
std::vector<std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>
CreateDummyClientInterceptors();