Type alias ResolveHostname

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

Type declaration

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

      Parameters

      • hostname: string

      Returns string | PromiseLike<string>

Generated using TypeDoc