aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCWrappedCall.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2016-09-27 16:11:18 -0700
committerGravatar Muxi Yan <mxyan@google.com>2016-09-27 16:26:26 -0700
commitfdea83d42afbebfecfea1edf9143619640115824 (patch)
tree704c87a79400da75034f4df16bf617ca51284d0f /src/objective-c/GRPCClient/private/GRPCWrappedCall.h
parent16c26ed252fa5a186db6e93248325b0f918c8625 (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.h4
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