Type alias ResolveHostname

ResolveHostname: ((hostname: string) => string | PromiseLike<string>)

Type declaration

    • (hostname: string): string | PromiseLike<string>
    • Custom hostname resolution. It is expected this returns an IP address.

      Parameters

      • hostname: string

      Returns string | PromiseLike<string>

Generated using TypeDoc