GRPC Objective-C  1.71.0
Instance Methods
<GRPCInterceptorInterface> Protocol Reference

The GRPCInterceptorInterface defines the request events that can occur to an interceptor. More...

#import <GRPCInterceptor.h>

Instance Methods

(void) - startWithRequestOptions:callOptions:
 To start the call. More...
 
(void) - writeData:
 To write data to the call. More...
 
(void) - finish
 To finish the stream of requests. More...
 
(void) - cancel
 To cancel the call. More...
 
(void) - receiveNextMessages:
 To indicate the call that the previous interceptor is ready to receive more messages. More...
 

Additional Inherited Members

- Properties inherited from <GRPCDispatchable>
dispatch_queue_t dispatchQueue
 The dispatch queue where the object's methods should be run on. More...
 

Detailed Description

The GRPCInterceptorInterface defines the request events that can occur to an interceptor.

Method Documentation

◆ cancel

- (void) cancel

To cancel the call.

Reimplemented in GRPCInterceptor.

◆ finish

- (void) finish

To finish the stream of requests.

Reimplemented in GRPCInterceptor.

◆ receiveNextMessages:

- (void) receiveNextMessages: (NSUInteger)  numberOfMessages

To indicate the call that the previous interceptor is ready to receive more messages.

Reimplemented in GRPCInterceptor.

◆ startWithRequestOptions:callOptions:

- (void) startWithRequestOptions: (GRPCRequestOptions *)  requestOptions
callOptions: (GRPCCallOptions *)  callOptions 

To start the call.

This method will only be called once for each instance.

Reimplemented in GRPCInterceptor.

◆ writeData:

- (void) writeData: (id)  data

To write data to the call.

Reimplemented in GRPCInterceptor.


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