diff options
author | 2016-11-17 11:13:54 -0800 | |
---|---|---|
committer | 2016-11-17 11:13:54 -0800 | |
commit | ed92f7bc04d5dcea415f9eeb0f3593ce9a3cc485 (patch) | |
tree | 14ec337bbc1556530a34baa20a4b71b642db2bea /include/grpc++/support/channel_arguments.h | |
parent | fd3c0540637c37446a628630d216d80ae3becdf5 (diff) | |
parent | 45bc38d11544852fcc981ac6039a89a4197fe329 (diff) |
Merge pull request #8617 from markdroth/service_config_json
Use JSON tree for service config channel arg.
Diffstat (limited to 'include/grpc++/support/channel_arguments.h')
-rw-r--r-- | include/grpc++/support/channel_arguments.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h index 0c05f5478a..571ab5d530 100644 --- a/include/grpc++/support/channel_arguments.h +++ b/include/grpc++/support/channel_arguments.h @@ -93,6 +93,10 @@ class ChannelArguments { /// grpclb LB policy will be used, regardless of what is specified here. void SetLoadBalancingPolicyName(const grpc::string& lb_policy_name); + /// Set service config in JSON form. + /// Primarily meant for use in unit tests. + void SetServiceConfigJSON(const grpc::string& service_config_json); + // Generic channel argument setters. Only for advanced use cases. /// Set an integer argument \a value under \a key. void SetInt(const grpc::string& key, int value); |