NIMServerSetting Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMServerSetting.h |
handshakeType
Handshake protocol type The basic type only supports setting module and version. Use RSA and RC4 encryption. The advanced type can specify the encryption type used by configuring encryptConfig. Default value: NIMHandshakeTypeBasics
@property (nonatomic, assign) NIMHandshakeType handshakeType
Discussion
Handshake protocol type The basic type only supports setting module and version. Use RSA and RC4 encryption. The advanced type can specify the encryption type used by configuring encryptConfig. Default value: NIMHandshakeTypeBasics
Declared In
NIMServerSetting.h
env
Server environment (default production environment)
@property (nonatomic, assign) NIMServerEnv env
Discussion
Server environment (default production environment)
Declared In
NIMServerSetting.h
module
module
@property (nonatomic, copy) NSString *module
Discussion
module
Declared In
NIMServerSetting.h
version
version
@property (nonatomic, assign) NSInteger version
Discussion
version
Declared In
NIMServerSetting.h
isSpecialCloud
Dedicated cloud
@property (nonatomic, assign) BOOL isSpecialCloud
Discussion
Dedicated cloud
Declared In
NIMServerSetting.h
encryptConfig
Handshake encryption configuration
@property (nonatomic, readonly) NIMEncryptionConfig *encryptConfig
Discussion
Handshake encryption configuration
Declared In
NIMServerSetting.h
lbsAddress
IM server load balancing URL
@property (nonatomic, copy) NSString *lbsAddress
Discussion
IM server load balancing URL
Declared In
NIMServerSetting.h
linkAddress
IM server default address in IPv4
@property (nonatomic, copy) NSString *linkAddress
Discussion
IM server default address in IPv4
Declared In
NIMServerSetting.h
ipv6LinkAddress
IM server default address in IPv6
@property (nonatomic, copy) NSString *ipv6LinkAddress
Discussion
IM server default address in IPv6
Declared In
NIMServerSetting.h
nosLbsAddress
NOS server load balancing URL
@property (nonatomic, copy) NSString *nosLbsAddress
Discussion
NOS server load balancing URL
Declared In
NIMServerSetting.h
nosUploadAddress
Default address of the NOS upload server
@property (nonatomic, copy) NSString *nosUploadAddress
Discussion
Default address of the NOS upload server
Declared In
NIMServerSetting.h
httpsEnabled
Enable HTTPS support
@property (nonatomic, assign) BOOL httpsEnabled
Discussion
Enable HTTPS support
The default value is YES. If you want to use non-HTTPS for file upload and download, set the value to NO.
If the value is set to YES, upload will use HTTPS. All URLs returned will be converted from HTTP to HTTPS
If the value is set to NO, the upload will use HTTP, and all original URLs will be returned, and enabledHttpsForInfo
and enabledHttpsForMessage
in SDKConfig
will become invalid
Declared In
NIMServerSetting.h
nosUploadHost
NOS upload host, used for host verification during HTTPS upload
@property (nonatomic, copy, nullable) NSString *nosUploadHost
Discussion
NOS upload host, used for host verification during HTTPS upload
Declared In
NIMServerSetting.h
nosDownloadAddress
NOS download address, used for concatenating the download URL
@property (nonatomic, copy) NSString *nosDownloadAddress
Discussion
NOS download address, used for concatenating the download URL
Declared In
NIMServerSetting.h
nosAccelerateHost
NOS accelerated host
@property (nonatomic, copy, nullable) NSString *nosAccelerateHost
Discussion
NOS accelerated host
Declared In
NIMServerSetting.h
nosAccelerateHosts
The list of domain names that need to be replaced by NOS acceleration. the bucket part is excluded.
@property (strong, nonatomic, nullable) NSArray<NSString*> *nosAccelerateHosts
Discussion
The list of domain names that need to be replaced by NOS acceleration. the bucket part is excluded.
Declared In
NIMServerSetting.h
nosAccelerateAddress
NOS accelerated address
@property (nonatomic, copy, nullable) NSString *nosAccelerateAddress
Discussion
NOS accelerated address
Declared In
NIMServerSetting.h
ntServerAddress
NT server address
@property (nonatomic, copy, nullable) NSString *ntServerAddress
Discussion
NT server address
Declared In
NIMServerSetting.h
exceptionUploadAddress
Exception reporting address: 408, 415, and 500
@property (nonatomic, copy) NSString *exceptionUploadAddress
Discussion
Exception reporting address: 408, 415, and 500
Declared In
NIMServerSetting.h
lbsIpv4DetectAddress
IPv4 address connectivity check
@property (nonatomic, copy, nullable) NSString *lbsIpv4DetectAddress
Discussion
IPv4 address connectivity check
Declared In
NIMServerSetting.h
lbsIpv6DetectAddress
IPv6 address connectivity check
@property (nonatomic, copy, nullable) NSString *lbsIpv6DetectAddress
Discussion
IPv6 address connectivity check
Declared In
NIMServerSetting.h
lbsLinkAddressType
The type of link address returned by lbs, set before initialization
@property (nonatomic, assign) NIMLinkAddressType lbsLinkAddressType
Discussion
The type of link address returned by lbs, set before initialization
Declared In
NIMServerSetting.h
cdnEnable
If the client-end acceleration domain name (nosAccelerateAddress) and the background CDN domain name are configured, select the background CDN domain name first. The default value is YES
@property (nonatomic, assign) BOOL cdnEnable
Discussion
If the client-end acceleration domain name (nosAccelerateAddress) and the background CDN domain name are configured, select the background CDN domain name first. The default value is YES
Declared In
NIMServerSetting.h
– updateSettingFromConfigData:
Update the setting from the configuration
- (void)updateSettingFromConfigData:(NSData *)data
Discussion
Update the setting from the configuration
Declared In
NIMServerSetting.h