NIMServerSetting Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMServerSetting.h |
module
module
@property (nonatomic, copy) NSString *module
Discussion
module
Declared In
NIMServerSetting.h
version
版本
@property (nonatomic, assign) NSInteger version
Discussion
版本
Declared In
NIMServerSetting.h
lbsAddress
IM 服务器 lbs 地址
@property (nonatomic, copy) NSString *lbsAddress
Discussion
IM 服务器 lbs 地址
Declared In
NIMServerSetting.h
linkAddress
IM 服务器默认地址
@property (nonatomic, copy) NSString *linkAddress
Discussion
IM 服务器默认地址
Declared In
NIMServerSetting.h
nosLbsAddress
NOS 服务器 lbs 地址
@property (nonatomic, copy) NSString *nosLbsAddress
Discussion
NOS 服务器 lbs 地址
Declared In
NIMServerSetting.h
nosUploadAddress
NOS 上传服务器默认地址
@property (nonatomic, copy) NSString *nosUploadAddress
Discussion
NOS 上传服务器默认地址
Declared In
NIMServerSetting.h
httpsEnabled
是否开启 HTTPS 支持
@property (nonatomic, assign) BOOL httpsEnabled
Discussion
是否开启 HTTPS 支持
默认情况为 YES,若需要使用非 HTTPS 进行文件上传下载,则设置为 NO。
如果设置为 YES,上传将使用 https 上传,所有返回 url 的地方也会尝试将 http url 调整为 https url
如果设置为 NO,上传将使用 http 上传,而所有返回 url 的地方都只返回原 url,而不做任何处理,同时 SDKConfig
中 enabledHttpsForInfo
和 enabledHttpsForMessage
将无效
Declared In
NIMServerSetting.h
nosUploadHost
NOS 上传 Host,用于 HTTPS 上传时 Host 验证
@property (nonatomic, copy, nullable) NSString *nosUploadHost
Discussion
NOS 上传 Host,用于 HTTPS 上传时 Host 验证
Declared In
NIMServerSetting.h
nosDownloadAddress
NOS 下载地址,用于拼接下载地址
@property (nonatomic, copy) NSString *nosDownloadAddress
Discussion
NOS 下载地址,用于拼接下载地址
Declared In
NIMServerSetting.h
nosAccelerateHost
NOS 加速 Host
@property (nonatomic, copy, nullable) NSString *nosAccelerateHost
Discussion
NOS 加速 Host
Declared In
NIMServerSetting.h
nosAccelerateAddress
NOS 加速替换地址
@property (nonatomic, copy, nullable) NSString *nosAccelerateAddress
Discussion
NOS 加速替换地址
Declared In
NIMServerSetting.h
ntServerAddress
NT 服务器地址
@property (nonatomic, copy, nullable) NSString *ntServerAddress
Discussion
NT 服务器地址
Declared In
NIMServerSetting.h