pull/20560/head
Muxi Yan 5 years ago
parent c754c0389c
commit ae168166e2
  1. 4
      src/objective-c/ProtoRPC/ProtoRPC.h

@ -81,10 +81,10 @@ NS_ASSUME_NONNULL_BEGIN
*
* responseHandler: The unary handler to be called when the call is completed.
* responseDispatchQueue: the dispatch queue on which the response handler
* should be issued.
* should be issued. If it's nil, the handler will use the main queue.
*/
- (nullable instancetype)initWithResponseHandler:(void (^)(GPBMessage *, NSError *))handler
responseDispatchQueue:(nullable dispatch_queue_t)responseDispatchQueue;
responseDispatchQueue:(nullable dispatch_queue_t)dispatchQueue;
/** Response headers received during the call. */
@property(readonly, nullable) NSDictionary *responseHeaders;

Loading…
Cancel
Save