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