diff options
author | 2018-06-19 12:04:06 -0700 | |
---|---|---|
committer | 2018-06-19 12:04:06 -0700 | |
commit | b13eda3cb49bcbf5cb8926aef419acc1fffdb98f (patch) | |
tree | e2b5aed8e0eae8550f436983abf1290653a5b6b0 /src/objective-c/GRPCClient/GRPCCall+ChannelArg.h | |
parent | 9e3e64604d9a3bb4bea9202ede844e6f7b592eeb (diff) |
Enable retry
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall+ChannelArg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall+ChannelArg.h b/src/objective-c/GRPCClient/GRPCCall+ChannelArg.h index c05ba54c99..0b6855f6a4 100644 --- a/src/objective-c/GRPCClient/GRPCCall+ChannelArg.h +++ b/src/objective-c/GRPCClient/GRPCCall+ChannelArg.h @@ -55,4 +55,9 @@ typedef NS_ENUM(NSInteger, GRPCCompressAlgorithm) { timeout:(int)timeout forHost:(nonnull NSString *)host; +/** Enable/Disable automatic retry of gRPC calls on the channel. If automatic retry is enabled, the + * retry is controlled by server's service config. If automatic retry is disabled, failed calls are + * immediately returned to the application layer. */ ++ (void)enableRetry:(BOOL)enabled forHost:(nonnull NSString *)host; + @end |