printEndpoint
printEndpoint(
endpoint):string
Defined in: packages/net-address/src/port/endpoint.ts:137
Prints the endpoint, bracketing an IPv6 host whenever a port is present — and
also when it is not, so the result is always safe to concatenate a :port
onto.
Parameters
Section titled “Parameters”endpoint
Section titled “endpoint”Returns
Section titled “Returns”string