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
void finish()
To finish the stream of requests.
Base class for a gRPC interceptor.
Definition: GRPCInterceptor.h:249
instancetype NS_UNAVAILABLE()
void finishNextInterceptor()
Notify the next interceptor in the chain to finish the call.
void didWriteData()
Issued when flow control is enabled for the call and a message written with GRPCCall2::writeData is p...
instancetype NS_UNAVAILABLE()
char *_Nonnull GRPCTransportID
The id of a transport implementation.
Definition: GRPCTypes.h:179
void cancel()
To cancel the call.
HTTP request parameters.
Definition: GRPCCall.h:102
Immutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:30
An object can implement this protocol to receive responses from server from a call.
Definition: GRPCCall.h:50
The GRPCInterceptorInterface defines the request events that can occur to an interceptor.
Definition: GRPCInterceptor.h:130
An interceptor factory object is used to create interceptor object for the call at the call start tim...
Definition: GRPCInterceptor.h:164
void cancel()
To cancel the call.
void finish()
To finish the stream of requests.
void forwardPreviousInterceptorDidWriteData()
Forward write completion to the previous interceptor in the chain.
GRPCInterceptorManager is a helper class to forward messages between the interceptors.
Definition: GRPCInterceptor.h:187
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...
An object that processes its methods with a dispatch queue.
Definition: GRPCDispatchable.h:23