aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/GRPCCall.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-08-30 14:40:15 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-08-30 14:40:15 -0700
commitf282c8f525788e6f15331bb6c94471012a7e5346 (patch)
tree9a209804c3c3d2e7598c45dab0b6fa89b771a402 /src/objective-c/GRPCClient/GRPCCall.h
parent5646c7463c24ddd04e639ddd35b63db0c0dc06fb (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.h5
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-