UNPKG

533 BTypeScriptView Raw
1export interface UseDualstackConfigOptions {
2 /**
3 * 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.
4 * In most cases the network stack in the client environment will automatically prefer the AAAA record and make a connection using the IPv6 address.
5 * Note, however, that currently on Windows, the IPv4 address will be preferred.
6 */
7 useDualstack?: boolean;
8}