#import <ProtoRPC.h>
Protected Attributes | |
__pad0__: NSObject <GRPCProtoResponseHandler>- (nullable instancetype)initWithResponseHandler:(void (^)(ResponseType | |
NSError *handler | responseDispatchQueue:(nullable dispatch_queue_t)dispatchQueue |
Properties | |
NSDictionary * | responseHeaders |
NSDictionary * | responseTrailers |
A convenience class of objects that act as response handlers of calls. Issues response to a single handler when the response is completed.
The object is stateful and should not be reused for multiple calls. If multiple calls share the same response handling logic, create separate GRPCUnaryResponseHandler objects for each call.
Definition at line 80 of file ProtoRPC.h.
|
protected |
Definition at line 89 of file ProtoRPC.h.
|
protected |
Definition at line 90 of file ProtoRPC.h.
|
readatomicassign |
Response headers received during the call.
Definition at line 93 of file ProtoRPC.h.
|
readatomicassign |
Response trailers received during the call.
Definition at line 96 of file ProtoRPC.h.