aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc.h
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-08-06 14:46:37 -0700
committerGravatar Mark D. Roth <roth@google.com>2018-08-06 14:46:53 -0700
commitf7e72560b664cce34bdf3c64b411cd6a153219ad (patch)
tree2c5f6f9eac3daa3c5ada269bef15b06ed17c34af /include/grpc/grpc.h
parent3b60506f1aaf137077129bbbe882bc106449550e (diff)
Add experimental API for resetting connection backoff.
Diffstat (limited to 'include/grpc/grpc.h')
-rw-r--r--include/grpc/grpc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index f0eb2c0121..bc6cd340af 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -269,6 +269,11 @@ GRPCAPI char* grpc_channel_get_target(grpc_channel* channel);
GRPCAPI void grpc_channel_get_info(grpc_channel* channel,
const grpc_channel_info* channel_info);
+/** EXPERIMENTAL. Resets the channel's connect backoff.
+ TODO(roth): When we see whether this proves useful, either promote
+ to non-experimental or remove it. */
+GRPCAPI void grpc_channel_reset_connect_backoff(grpc_channel* channel);
+
/** Create a client channel to 'target'. Additional channel level configuration
MAY be provided by grpc_channel_args, though the expectation is that most
clients will want to simply pass NULL. The user data in 'args' need only