aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCWrappedCall.m
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-09-02 17:41:43 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-09-02 22:03:06 -0700
commit5c339d15b322952c71b7f3ecef94f6d2eb7dd2b4 (patch)
treea2436ff329537e9ade585987e195dcde7bc72284 /src/objective-c/GRPCClient/private/GRPCWrappedCall.m
parent86e5a050f7db82f49e92bc79be3a0f8623353be3 (diff)
Remove -[asDictionary]
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCWrappedCall.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCWrappedCall.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m
index fe3d51da53..3cb5613bd0 100644
--- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m
+++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m
@@ -38,6 +38,8 @@
#include <grpc/byte_buffer.h>
#include <grpc/support/alloc.h>
+#import "GRPCRequestHeaders.h"
+
#import "GRPCCompletionQueue.h"
#import "GRPCHost.h"
#import "NSDictionary+GRPC.h"
@@ -65,7 +67,7 @@
return [self initWithMetadata:nil handler:nil];
}
-- (instancetype)initWithMetadata:(NSDictionary *)metadata handler:(void (^)())handler {
+- (instancetype)initWithMetadata:(GRPCRequestHeaders *)metadata handler:(void (^)())handler {
if (self = [super init]) {
_op.op = GRPC_OP_SEND_INITIAL_METADATA;
_op.data.send_initial_metadata.count = metadata.count;