NIMServerConfig constructor

NIMServerConfig({
  1. String? module,
  2. int publicKeyVersion = 0,
  3. String? lbs,
  4. String? defaultLink,
  5. String? nosUploadLbs,
  6. String? nosUploadDefaultLink,
  7. String? nosUpload,
  8. bool nosSupportHttps = true,
  9. String? nosDownloadUrlFormat,
  10. String? nosDownload,
  11. String? nosAccess,
  12. AsymmetricType negoKeyNeca = AsymmetricType.rsa,
  13. int? negoKeyEncaKeyVersion,
  14. String? negoKeyEncaKeyParta,
  15. String? negoKeyEncaKeyPartb,
  16. SymmetryType commEnca = SymmetryType.rc4,
  17. String? linkIpv6,
  18. IPVersion ipProtocolVersion = IPVersion.ipv4,
  19. String? probeIpv4Url,
  20. String? probeIpv6Url,
  21. NimHandshakeType handshakeType = NimHandshakeType.v1,
  22. bool nosCdnEnable = true,
  23. 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});