aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support/channel_arguments.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-20 15:42:47 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-20 15:42:47 -0800
commitda9de8988b343a6c87a9c3ba6b4594020943b0a7 (patch)
treeeee5260113f8aef5919422558900f582753a464d /include/grpc++/support/channel_arguments.h
parent1d77059e4b1ec17c704acfc876e321cc33bff99d (diff)
parent4a4a3a446871da594ef4662751e707789f2829c2 (diff)
Merge github.com:grpc/grpc into maxmsgsz
Diffstat (limited to 'include/grpc++/support/channel_arguments.h')
-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.