Protected Attributes | Properties | List of all members
GRPCUnaryResponseHandler Class Reference

#import <ProtoRPC.h>

Inheritance diagram for GRPCUnaryResponseHandler:
Inheritance graph
[legend]

Protected Attributes

 __pad0__: NSObject <GRPCProtoResponseHandler>- (nullable instancetype)initWithResponseHandler:(void (^)(ResponseType
 
NSError *handler responseDispatchQueue:(nullable dispatch_queue_t)dispatchQueue
 

Properties

NSDictionary * responseHeaders
 
NSDictionary * responseTrailers
 

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.

Definition at line 80 of file ProtoRPC.h.

Member Data Documentation

◆ __pad0__

- __pad0__
protected

Definition at line 89 of file ProtoRPC.h.

◆ responseDispatchQueue

- (NSError* handler) responseDispatchQueue
protected

Definition at line 90 of file ProtoRPC.h.

Property Documentation

◆ responseHeaders

- (NSDictionary*) responseHeaders
readatomicassign

Response headers received during the call.

Definition at line 93 of file ProtoRPC.h.

◆ responseTrailers

- (NSDictionary*) responseTrailers
readatomicassign

Response trailers received during the call.

Definition at line 96 of file ProtoRPC.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46