config_use_dualstack.d.ts 639 B

1234567891011
  1. import {ConfigBase} from './config-base';
  2. export interface UseDualstackConfigOptions {
  3. /**
  4. * Enables IPv6/IPv4 dualstack endpoint. When a DNS lookup is performed on an endpoint of this type, it returns an “A” record with an IPv4 address and an “AAAA” record with an IPv6 address.
  5. * In most cases the network stack in the client environment will automatically prefer the AAAA record and make a connection using the IPv6 address.
  6. * Note, however, that currently on Windows, the IPv4 address will be preferred.
  7. * @deprecated Use {@link ConfigBase.useDualstackEndpoint}
  8. */
  9. useDualstack?: boolean;
  10. }