Function resolveHostnames

  • Takes an array of host or hostnames and resolves them to the host addresses. It will also filter out any duplicates or IPV6 addresses.

    Parameters

    • addresses: NodeAddress[]
    • existingAddresses: Set<string> = ...

    Returns Promise<{
        host: Host;
        port: Port;
    }[]>

Generated using TypeDoc