GRPC Objective-C
1.71.0
|
A convenience class of objects that act as response handlers of calls. More...
#import <ProtoRPC.h>
Protected Attributes | |
__pad0__: NSObject <GRPCProtoResponseHandler>- (nullable instancetype)initWithResponseHandler:(void (^)(ResponseType | |
NSError *handler | responseDispatchQueue:(nullable dispatch_queue_t)dispatchQueue |
Properties | |
NSDictionary * | responseHeaders |
Response headers received during the call. More... | |
NSDictionary * | responseTrailers |
Response trailers received during the call. More... | |
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.
|
protected |
|
protected |
|
readatomicassign |
Response headers received during the call.
|
readatomicassign |
Response trailers received during the call.