• Split a network address of the form "host:port" into host and port.

    Parameters

    • hostport: string

    Returns {
        host: string;
        port?: number;
    }

    • host: string
    • Optional port?: number

Generated using TypeDoc