NIMServerConfig constructor
NIMServerConfig({
- String? module,
- int publicKeyVersion = 0,
- String? lbs,
- String? defaultLink,
- String? nosUploadLbs,
- String? nosUploadDefaultLink,
- String? nosUpload,
- bool nosSupportHttps = true,
- String? nosDownloadUrlFormat,
- String? nosDownload,
- String? nosAccess,
- AsymmetricType negoKeyNeca = AsymmetricType.rsa,
- int? negoKeyEncaKeyVersion,
- String? negoKeyEncaKeyParta,
- String? negoKeyEncaKeyPartb,
- SymmetryType commEnca = SymmetryType.rc4,
- String? linkIpv6,
- IPVersion ipProtocolVersion = IPVersion.ipv4,
- String? probeIpv4Url,
- String? probeIpv6Url,
- NimHandshakeType handshakeType = NimHandshakeType.v1,
- bool nosCdnEnable = true,
- Set<
String> ? nosDownloadSet,
Implementation
NIMServerConfig(
{this.module,
this.publicKeyVersion = 0,
this.lbs,
this.defaultLink,
this.nosUploadLbs,
this.nosUploadDefaultLink,
this.nosUpload,
this.nosSupportHttps = true,
this.nosDownloadUrlFormat,
this.nosDownload,
this.nosAccess,
this.negoKeyNeca = AsymmetricType.rsa,
this.negoKeyEncaKeyVersion,
this.negoKeyEncaKeyParta,
this.negoKeyEncaKeyPartb,
this.commEnca = SymmetryType.rc4,
this.linkIpv6,
this.ipProtocolVersion = IPVersion.ipv4,
this.probeIpv4Url,
this.probeIpv6Url,
this.handshakeType = NimHandshakeType.v1,
this.nosCdnEnable = true,
this.nosDownloadSet});