aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-07-26 12:53:27 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-07-26 12:53:27 -0700
commit26b3714b72d708ac3c9e62c6330a935ec5ba09f1 (patch)
tree4729d0b8d355fb580e6f9c3b4be01923260be7f4 /include
parentc4b56b67a29b3c1e3c8c219c22c5e7ec4625b478 (diff)
Add a hook for sending default authority when needed
Diffstat (limited to 'include')
-rw-r--r--include/grpc/grpc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 4080debb68..8e3bbbf4cb 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -126,6 +126,8 @@ typedef struct {
/** Initial sequence number for http2 transports */
#define GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER \
"grpc.http2.initial_sequence_number"
+/** Default authority to pass if none specified on call construction */
+#define GRPC_ARG_DEFAULT_AUTHORITY "grpc.default_authority"
/** Primary user agent: goes at the start of the user-agent metadata
sent on each request */
#define GRPC_ARG_PRIMARY_USER_AGENT_STRING "grpc.primary_user_agent"