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 handshakeTypeDiscussion
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 envDiscussion
Server environment (default production environment)
Declared In
NIMServerSetting.h
module
module
@property (nonatomic, copy) NSString *moduleDiscussion
module
Declared In
NIMServerSetting.h
version
version
@property (nonatomic, assign) NSInteger versionDiscussion
version
Declared In
NIMServerSetting.h
isSpecialCloud
Dedicated cloud
@property (nonatomic, assign) BOOL isSpecialCloudDiscussion
Dedicated cloud
Declared In
NIMServerSetting.h
encryptConfig
Handshake encryption configuration
@property (nonatomic, readonly) NIMEncryptionConfig *encryptConfigDiscussion
Handshake encryption configuration
Declared In
NIMServerSetting.h
lbsAddress
IM server load balancing URL
@property (nonatomic, copy) NSString *lbsAddressDiscussion
IM server load balancing URL
Declared In
NIMServerSetting.h
linkAddress
IM server default address in IPv4
@property (nonatomic, copy) NSString *linkAddressDiscussion
IM server default address in IPv4
Declared In
NIMServerSetting.h
ipv6LinkAddress
IM server default address in IPv6
@property (nonatomic, copy) NSString *ipv6LinkAddressDiscussion
IM server default address in IPv6
Declared In
NIMServerSetting.h
nosLbsAddress
NOS server load balancing URL
@property (nonatomic, copy) NSString *nosLbsAddressDiscussion
NOS server load balancing URL
Declared In
NIMServerSetting.h
nosUploadAddress
Default address of the NOS upload server
@property (nonatomic, copy) NSString *nosUploadAddressDiscussion
Default address of the NOS upload server
Declared In
NIMServerSetting.h
httpsEnabled
Enable HTTPS support
@property (nonatomic, assign) BOOL httpsEnabledDiscussion
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 *nosUploadHostDiscussion
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 *nosDownloadAddressDiscussion
NOS download address, used for concatenating the download URL
Declared In
NIMServerSetting.h
nosAccelerateHost
NOS accelerated host
@property (nonatomic, copy, nullable) NSString *nosAccelerateHostDiscussion
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*> *nosAccelerateHostsDiscussion
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 *nosAccelerateAddressDiscussion
NOS accelerated address
Declared In
NIMServerSetting.h
ntServerAddress
NT server address
@property (nonatomic, copy, nullable) NSString *ntServerAddressDiscussion
NT server address
Declared In
NIMServerSetting.h
exceptionUploadAddress
Exception reporting address: 408, 415, and 500
@property (nonatomic, copy) NSString *exceptionUploadAddressDiscussion
Exception reporting address: 408, 415, and 500
Declared In
NIMServerSetting.h
lbsIpv4DetectAddress
IPv4 address connectivity check
@property (nonatomic, copy, nullable) NSString *lbsIpv4DetectAddressDiscussion
IPv4 address connectivity check
Declared In
NIMServerSetting.h
lbsIpv6DetectAddress
IPv6 address connectivity check
@property (nonatomic, copy, nullable) NSString *lbsIpv6DetectAddressDiscussion
IPv6 address connectivity check
Declared In
NIMServerSetting.h
lbsLinkAddressType
The type of link address returned by lbs, set before initialization
@property (nonatomic, assign) NIMLinkAddressType lbsLinkAddressTypeDiscussion
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 cdnEnableDiscussion
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 *)dataDiscussion
Update the setting from the configuration
Declared In
NIMServerSetting.h