diff options
author | ncteisen <ncteisen@gmail.com> | 2018-09-05 17:08:01 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-09-05 17:08:01 -0700 |
commit | c9e300d5b044351c6e09221b09ba49e53d211643 (patch) | |
tree | ba7f23865cdd5f5c6cdcf53940bd67787c173619 /include/grpc | |
parent | 5e054bf11e58049d988746cb76238f8099ac1faa (diff) |
Add channel arg control for user agent
Diffstat (limited to 'include/grpc')
-rw-r--r-- | include/grpc/impl/codegen/grpc_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h index b5353c1dea..9097984a96 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -342,6 +342,8 @@ typedef struct { "grpc.disable_client_authority_filter" /** If set to zero, disables use of http proxies. Enabled by default. */ #define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy" +/** If set to non zero, surfaces the user agent string to the server. */ +#define GRPC_ARG_SURFACE_USER_AGENT "grpc.surface_user_agent" /** \} */ /** Result of a grpc call. If the caller satisfies the prerequisites of a |