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

#import <GRPCHost.h>

Inheritance diagram for GRPCHost:
Inheritance graph
[legend]

Instance Methods

(nullable instancetype) - initWithAddress:
 
(nullable instancetype) - NS_UNAVAILABLE
 
(BOOL- setTLSPEMRootCerts:withPrivateKey:withCertChain:error:
 

Class Methods

(GRPCCallOptions *) + callOptionsForHost:
 
(nullable instancetype) + hostWithAddress:
 
(void) + resetAllHostSettings
 

Properties

NSString * address
 
id< GRPCChannelFactorychannelFactory
 
grpc_compression_algorithm compressAlgorithm
 
NSString * hostNameOverride
 
unsigned int initialConnectBackoff
 
int keepaliveInterval
 
int keepaliveTimeout
 
id logContext
 
unsigned int maxConnectBackoff
 
unsigned int minConnectTimeout
 
NSUInteger responseSizeLimitOverride
 
BOOL retryEnabled
 
GRPCTransportType transportType
 
NSString * userAgentPrefix
 
NSString * userAgentSuffix
 

Detailed Description

Definition at line 33 of file GRPCHost.h.

Method Documentation

◆ callOptionsForHost:

+ (GRPCCallOptions *) callOptionsForHost: (NSString *)  host

◆ hostWithAddress:

+ (nullable instancetype) hostWithAddress: (NSString *)  address

Host objects initialized with the same address are the same.

◆ initWithAddress:

- (nullable instancetype) initWithAddress: (NSString *)  NS_DESIGNATED_INITIALIZER

◆ NS_UNAVAILABLE

- (nullable instancetype) NS_UNAVAILABLE

◆ resetAllHostSettings

+ (void) resetAllHostSettings

◆ setTLSPEMRootCerts:withPrivateKey:withCertChain:error:

- (BOOL) setTLSPEMRootCerts: (nullable NSString *)  pemRootCerts
withPrivateKey: (nullable NSString *)  pemPrivateKey
withCertChain: (nullable NSString *)  pemCertChain
error: (NSError **)  errorPtr 

Property Documentation

◆ address

- (NSString*) address
readnonatomicassign

Definition at line 37 of file GRPCHost.h.

◆ channelFactory

- (id<GRPCChannelFactory>) channelFactory
readwritenonatomicassign

Definition at line 50 of file GRPCHost.h.

◆ compressAlgorithm

- (grpc_compression_algorithm) compressAlgorithm
readwritenonatomicassign

Definition at line 40 of file GRPCHost.h.

◆ hostNameOverride

- (NSString*) hostNameOverride
readwritenonatomiccopy

The following properties should only be modified for testing:

Definition at line 54 of file GRPCHost.h.

◆ initialConnectBackoff

- (unsigned int) initialConnectBackoff
readwritenonatomicassign

Definition at line 47 of file GRPCHost.h.

◆ keepaliveInterval

- (int) keepaliveInterval
readwritenonatomicassign

Definition at line 41 of file GRPCHost.h.

◆ keepaliveTimeout

- (int) keepaliveTimeout
readwritenonatomicassign

Definition at line 42 of file GRPCHost.h.

◆ logContext

- (id) logContext
readwritenonatomicassign

Definition at line 43 of file GRPCHost.h.

◆ maxConnectBackoff

- (unsigned int) maxConnectBackoff
readwritenonatomicassign

Definition at line 48 of file GRPCHost.h.

◆ minConnectTimeout

- (unsigned int) minConnectTimeout
readwritenonatomicassign

Definition at line 46 of file GRPCHost.h.

◆ responseSizeLimitOverride

- (NSUInteger) responseSizeLimitOverride
readwritenonatomicassign

The default response size limit is 4MB. Set this to override that default.

Definition at line 57 of file GRPCHost.h.

◆ retryEnabled

- (BOOL) retryEnabled
readwritenonatomicassign

Definition at line 44 of file GRPCHost.h.

◆ transportType

- (GRPCTransportType) transportType
readwriteatomicassign

Definition at line 68 of file GRPCHost.h.

◆ userAgentPrefix

- (NSString*) userAgentPrefix
readwritenonatomiccopy

Definition at line 38 of file GRPCHost.h.

◆ userAgentSuffix

- (NSString*) userAgentSuffix
readwritenonatomiccopy

Definition at line 39 of file GRPCHost.h.


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


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