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;
void channelDisconnected()
A proxied channel object that can be retained and used to create GRPCWrappedCall object regardless of...
Definition: GRPCChannelPool.h:36
Definition: GRPCWrappedCall.h:65
Definition: GRPCWrappedCall.h:76
Definition: GRPCWrappedCall.h:24
void finish()
Guaranteed to be called when the operation has finished.
grpc_op op
Definition: GRPCWrappedCall.h:25
Definition: GRPCWrappedCall.h:59
Definition: GRPCWrappedCall.h:40
instancetype NS_UNAVAILABLE()
Definition: GRPCWrappedCall.h:47