Instance Methods | Class Methods | List of all members
GRPCUnaryProtoCall Class Reference

#import <ProtoRPC.h>

Inheritance diagram for GRPCUnaryProtoCall:
Inheritance graph
[legend]

Instance Methods

(void) - cancel
 
(nullable instancetype) - initWithRequestOptions:message:responseHandler:callOptions:responseClass:
 
(instancetype) - NS_UNAVAILABLE
 
(void) - start
 

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Detailed Description

A unary-request RPC call with Protobuf.

Definition at line 101 of file ProtoRPC.h.

Method Documentation

◆ cancel

- (void) cancel

Cancel the request of this call at best effort. It attempts to notify the server that the RPC should be cancelled, and issue didCloseWithTrailingMetadata:error: callback with error code CANCELED if no other error code has already been issued.

◆ initWithRequestOptions:message:responseHandler:callOptions:responseClass:

- (nullable instancetype) initWithRequestOptions: (GRPCRequestOptions *)  requestOptions
message: (GPBMessage *)  message
responseHandler: (id< GRPCProtoResponseHandler >)  handler
callOptions: (nullable GRPCCallOptions *)  callOptions
responseClass: (Class)  NS_DESIGNATED_INITIALIZER 

Users should not use this initializer directly. Call objects will be created, initialized, and returned to users by methods of the generated service.

◆ NS_UNAVAILABLE [1/2]

+ (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE [2/2]

- (instancetype) NS_UNAVAILABLE

◆ start

- (void) start

Start the call. This function must only be called once for each instance.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46