Instance Methods | Class Methods | Properties | List of all members
GRPCRequestOptions Class Reference

#import <GRPCCall.h>

Inheritance diagram for GRPCRequestOptions:
Inheritance graph
[legend]

Instance Methods

(instancetype) - initWithHost:path:safety:
 
(instancetype) - NS_UNAVAILABLE
 

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

NSString * host
 
NSString * path
 
GRPCCallSafety safety
 

Detailed Description

HTTP request parameters. If Protobuf is used, these parameters are automatically generated by Protobuf. If directly using the GRPCCall2 class, users should specify these parameters manually.

Definition at line 102 of file GRPCCall.h.

Method Documentation

◆ initWithHost:path:safety:

- (instancetype) initWithHost: (NSString *)  host
path: (NSString *)  path
safety: (GRPCCallSafety)  NS_DESIGNATED_INITIALIZER 

Initialize with all properties.

◆ NS_UNAVAILABLE [1/2]

- (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE [2/2]

+ (instancetype) NS_UNAVAILABLE

Property Documentation

◆ host

- (NSString*) host
readatomiccopy

The host serving the RPC service.

Definition at line 114 of file GRPCCall.h.

◆ path

- (NSString*) path
readatomiccopy

The path to the RPC call.

Definition at line 116 of file GRPCCall.h.

◆ safety

- (GRPCCallSafety) safety
readatomicassign

Specify whether the call is idempotent or cachable. gRPC may select different HTTP verbs for the call based on this information. The default verb used by gRPC is POST.

Definition at line 121 of file GRPCCall.h.


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


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