diff options
author | Muxi Yan <mxyan@google.com> | 2016-09-27 16:11:18 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2016-09-27 16:26:26 -0700 |
commit | fdea83d42afbebfecfea1edf9143619640115824 (patch) | |
tree | 704c87a79400da75034f4df16bf617ca51284d0f /src/objective-c/GRPCClient/private/GRPCWrappedCall.h | |
parent | 16c26ed252fa5a186db6e93248325b0f918c8625 (diff) |
Update grpc objc API for support of PUT method
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCWrappedCall.h')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.h b/src/objective-c/GRPCClient/private/GRPCWrappedCall.h index e37ed1b59f..8b64b27e56 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.h +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.h @@ -45,6 +45,10 @@ @interface GRPCOpSendMetadata : GRPCOperation - (instancetype)initWithMetadata:(NSDictionary *)metadata + handler:(void(^)())handler; + +- (instancetype)initWithMetadata:(NSDictionary *)metadata + http2Method:(NSString *)http2Method handler:(void(^)())handler NS_DESIGNATED_INITIALIZER; @end |