LocalAccessPointConfiguration

Local Access Point configuration.

class LocalAccessPointConfiguration {
  const LocalAccessPointConfiguration(
      {this.ipList,
      this.ipListSize,
      this.domainList,
      this.domainListSize,
      this.verifyDomainName,
      this.mode,
      this.advancedConfig});

  @JsonKey(name: 'ipList')
  final List<String>? ipList;

  @JsonKey(name: 'ipListSize')
  final int? ipListSize;

  @JsonKey(name: 'domainList')
  final List<String>? domainList;

  @JsonKey(name: 'domainListSize')
  final int? domainListSize;

  @JsonKey(name: 'verifyDomainName')
  final String? verifyDomainName;

  @JsonKey(name: 'mode')
  final LocalProxyMode? mode;

  @JsonKey(name: 'advancedConfig')
  final AdvancedConfigInfo? advancedConfig;

  factory LocalAccessPointConfiguration.fromJson(Map<String, dynamic> json) =>
      _$LocalAccessPointConfigurationFromJson(json);

  Map<String, dynamic> toJson() => _$LocalAccessPointConfigurationToJson(this);
}

Properties

ipList
Internal IP address list of the Local Access Point. Either ipList or domainList must be provided.
ipListSize
Number of internal IP addresses for the Local Access Point. This value must match the number of IP addresses you provide.
domainList
Domain name list of the Local Access Point. The SDK resolves the IP addresses of the Local Access Point based on the provided domain names. The domain resolution timeout is 10 seconds. Either ipList or domainList must be provided. If you specify both IP addresses and domain names, the SDK merges and deduplicates the resolved IPs and the specified IPs, then randomly connects to one IP for load balancing.
domainListSize
Number of domain names for the Local Access Point. This value must match the number of domain names you provide.
verifyDomainName
Domain name used for internal certificate verification. If left empty, the SDK uses the default certificate verification domain secure-edge.local.
mode
Connection mode. See LocalProxyMode.
advancedConfig
Advanced options for the Local Access Point. See AdvancedConfigInfo.