URI.port

class URI
pure const nothrow
int
port
()

Return Value

Type: int

port number. If none is provided by the URI, return the default port for this scheme. If the scheme isn't recognized, return -1.

Meta