GRPC Objective-C
1.73.0
|
An object can implement this protocol to receive responses from server from a call. More...
#import <ProtoRPC.h>
Instance Methods | |
(void) | - didReceiveInitialMetadata: |
Issued when initial metadata is received from the server. More... | |
(void) | - didReceiveProtoMessage: |
Issued when a message is received from the server. More... | |
(void) | - didCloseWithTrailingMetadata:error: |
Issued when a call finished. More... | |
(void) | - didWriteMessage |
Issued when flow control is enabled for the call and a message (written with writeMessage: method of GRPCStreamingProtoCall or the initializer of GRPCUnaryProtoCall) is passed to gRPC core with SEND_MESSAGE operation. More... | |
Properties | |
dispatch_queue_t | dispatchQueue |
All the responses must be issued to a user-provided dispatch queue. More... | |
An object can implement this protocol to receive responses from server from a call.
|
optional |
Issued when a call finished.
If the call finished successfully, error
is nil and trailingMetadata
consists any trailing metadata received from the server. Otherwise, error
is non-nil and contains the corresponding error information, including gRPC error codes and error descriptions.
|
optional |
Issued when initial metadata is received from the server.
|
optional |
Issued when a message is received from the server.
The message is the deserialized proto object.
|
optional |
Issued when flow control is enabled for the call and a message (written with writeMessage: method of GRPCStreamingProtoCall or the initializer of GRPCUnaryProtoCall) is passed to gRPC core with SEND_MESSAGE operation.
|
readrequiredatomicassign |
All the responses must be issued to a user-provided dispatch queue.
This property specifies the dispatch queue to be used for issuing the notifications.