19 #import <Foundation/Foundation.h>
20 #include <grpc/grpc.h>
25 @property(nonatomic, readonly) grpc_op
op;
32 - (instancetype)initWithMetadata:(NSDictionary *)metadata handler:(
void (^)(
void))handler;
34 - (instancetype)initWithMetadata:(NSDictionary *)metadata
36 handler:(
void (^)(
void))handler NS_DESIGNATED_INITIALIZER;
42 - (instancetype)initWithMessage:(NSData *)message
43 handler:(
void (^)(
void))handler NS_DESIGNATED_INITIALIZER;
49 - (instancetype)initWithHandler:(
void (^)(
void))handler NS_DESIGNATED_INITIALIZER;
55 - (instancetype)initWithHandler:(
void (^)(NSDictionary *))handler NS_DESIGNATED_INITIALIZER;
61 - (instancetype)initWithHandler:(
void (^)(grpc_byte_buffer *))handler NS_DESIGNATED_INITIALIZER;
67 - (instancetype)initWithHandler:(
void (^)(NSError *, NSDictionary *))handler
68 NS_DESIGNATED_INITIALIZER;
72 #pragma mark GRPCWrappedCall
82 - (instancetype)initWithUnmanagedCall:(grpc_call *)unmanagedCall
85 - (void)startBatchWithOperations:(NSArray *)ops errorHandler:(
void (^)(
void))errorHandler;
87 - (void)startBatchWithOperations:(NSArray *)ops;
Definition: GRPCWrappedCall.h:60
Definition: GRPCWrappedCall.h:66
Definition: GRPCWrappedCall.h:48
Definition: GRPCWrappedCall.h:41
Definition: GRPCWrappedCall.h:25
void finish()
Guaranteed to be called when the operation has finished.
grpc_op op
Definition: GRPCWrappedCall.h:25
A proxied channel object that can be retained and used to create GRPCWrappedCall object regardless of...
Definition: GRPCChannelPool.h:37
Definition: GRPCWrappedCall.h:77
instancetype NS_UNAVAILABLE()
void channelDisconnected()