Function joinHostPort

  • combines host and port into a network address of the form "host:port". If host contains a colon, as found in literal IPv6 addresses, then JoinHostPort returns "[host]:port".

    Parameters

    • host: string
    • port: string | number

    Returns string

Generated using TypeDoc