Go to the documentation of this file.
119 NS_ASSUME_NONNULL_BEGIN
141 - (void)writeData:(
id)data;
156 - (void)receiveNextMessages:(NSUInteger)numberOfMessages;
210 - (void)writeNextInterceptorWithData:(
id)data;
219 - (void)receiveNextInterceptorMessages:(NSUInteger)numberOfMessages;
224 - (void)forwardPreviousInterceptorWithInitialMetadata:(nullable NSDictionary *)initialMetadata;
227 - (void)forwardPreviousInterceptorWithData:(nullable
id)data;
230 - (void)forwardPreviousInterceptorCloseWithTrailingMetadata:
231 (nullable NSDictionary *)trailingMetadata
232 error:(nullable NSError *)error;
259 dispatchQueue:(dispatch_queue_t)dispatchQueue;
265 - (void)writeData:(
id)data;
268 - (void)receiveNextMessages:(NSUInteger)numberOfMessages;
272 - (void)didReceiveInitialMetadata:(nullable NSDictionary *)initialMetadata;
273 - (void)didReceiveData:(
id)data;
274 - (void)didCloseWithTrailingMetadata:(nullable NSDictionary *)trailingMetadata
275 error:(nullable NSError *)error;
280 NS_ASSUME_NONNULL_END
An object that processes its methods with a dispatch queue.
Definition: GRPCDispatchable.h:23
void finish()
To finish the stream of requests.
void forwardPreviousInterceptorDidWriteData()
Forward write completion to the previous interceptor in the chain.
void cancel()
To cancel the call.
void finish()
To finish the stream of requests.
Immutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:32
The GRPCInterceptorInterface defines the request events that can occur to an interceptor.
Definition: GRPCInterceptor.h:130
void cancel()
To cancel the call.
instancetype NS_UNAVAILABLE()
instancetype NS_UNAVAILABLE()
Base class for a gRPC interceptor.
Definition: GRPCInterceptor.h:249
void cancelNextInterceptor()
Notify the next interceptor in the chain to cancel the call.
void shutDown()
Notify the manager that the interceptor has shut down and the manager should release references to ot...
void didWriteData()
Issued when flow control is enabled for the call and a message written with GRPCCall2::writeData is p...
const typedef char *_Nonnull GRPCTransportID
The id of a transport implementation.
Definition: GRPCTypes.h:172
HTTP request parameters.
Definition: GRPCCall.h:102
An interceptor factory object is used to create interceptor object for the call at the call start tim...
Definition: GRPCInterceptor.h:164
GRPCInterceptorManager is a helper class to forward messages between the interceptors.
Definition: GRPCInterceptor.h:187
void finishNextInterceptor()
Notify the next interceptor in the chain to finish the call.
An object can implement this protocol to receive responses from server from a call.
Definition: GRPCCall.h:50