aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-19 16:59:43 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-19 16:59:43 -0800
commitba7a84b2a883ec303f77bc3e825eed724cec0c40 (patch)
tree193d8812f9aee32af37d7262cf2f639d5fdb83d8 /include/grpc++/support
parent1d77059e4b1ec17c704acfc876e321cc33bff99d (diff)
parentfffb692d37867f040b2b7bb2e982d5137dfb123e (diff)
Merge github.com:grpc/grpc into maxmsgsz
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/channel_arguments.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h
index d43f7c61bd..efdf7772ad 100644
--- a/include/grpc++/support/channel_arguments.h
+++ b/include/grpc++/support/channel_arguments.h
@@ -88,6 +88,10 @@ class ChannelArguments {
/// The given buffer pool will be attached to the constructed channel
void SetResourceQuota(const ResourceQuota& resource_quota);
+ /// Sets the max receive and send message sizes.
+ void SetMaxReceiveMessageSize(int size);
+ void SetMaxSendMessageSize(int size);
+
/// Set LB policy name.
/// Note that if the name resolver returns only balancer addresses, the
/// grpclb LB policy will be used, regardless of what is specified here.