aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <y-zeng@users.noreply.github.com>2016-11-11 15:05:14 -0800
committerGravatar GitHub <noreply@github.com>2016-11-11 15:05:14 -0800
commit5c1f55af232ef50f690d5e9c12fee21f635f0952 (patch)
treed43c94450b62ebcfe98a3f307994608118f8cb35 /include/grpc++/support
parentaaefa958d796e8f9ec1fe48df61ca0fd9425be48 (diff)
parent67ffe3f82de4d860f1d39f9ace55a6731e82a69c (diff)
Merge pull request #8335 from y-zeng/tos
Add grpc_socket_mutator
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/channel_arguments.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h
index 49a3e9461c..8d975f5214 100644
--- a/include/grpc++/support/channel_arguments.h
+++ b/include/grpc++/support/channel_arguments.h
@@ -79,6 +79,9 @@ class ChannelArguments {
/// Set the compression algorithm for the channel.
void SetCompressionAlgorithm(grpc_compression_algorithm algorithm);
+ /// Set the socket mutator for the channel.
+ void SetSocketMutator(grpc_socket_mutator* mutator);
+
/// The given string will be sent at the front of the user agent string.
void SetUserAgentPrefix(const grpc::string& user_agent_prefix);