GRPC Objective-C  1.71.0
Protected Attributes | Properties
GRPCUnaryResponseHandler Class Reference

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...
 

Detailed Description

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.

Field Documentation

◆ __pad0__

- __pad0__
protected

◆ responseDispatchQueue

- (NSError* handler) responseDispatchQueue
protected

Property Documentation

◆ responseHeaders

- (NSDictionary*) responseHeaders
readatomicassign

Response headers received during the call.

◆ responseTrailers

- (NSDictionary*) responseTrailers
readatomicassign

Response trailers received during the call.


The documentation for this class was generated from the following file: