diff options
author | 2017-08-30 14:40:15 -0700 | |
---|---|---|
committer | 2017-08-30 14:40:15 -0700 | |
commit | f282c8f525788e6f15331bb6c94471012a7e5346 (patch) | |
tree | 9a209804c3c3d2e7598c45dab0b6fa89b771a402 /src/objective-c/GRPCClient/GRPCCall.h | |
parent | 5646c7463c24ddd04e639ddd35b63db0c0dc06fb (diff) |
Surface call deadline to Objective C API
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h index 4d90cfd384..bcf4ae9cc7 100644 --- a/src/objective-c/GRPCClient/GRPCCall.h +++ b/src/objective-c/GRPCClient/GRPCCall.h @@ -170,6 +170,11 @@ extern id const kGRPCTrailersKey; @property (atomic, copy, readwrite) NSString *serverName; /** + * The deadline for the RPC call in milliseconds. If set to 0, the deadline will be infinity. + */ +@property UInt64 deadline; + +/** * The container of the request headers of an RPC conforms to this protocol, which is a subset of * NSMutableDictionary's interface. It will become a NSMutableDictionary later on. * The keys of this container are the header names, which per the HTTP standard are case- |