port

abstract val port: Int

Gets the port from the authority for this URI. For example, if the authority is "google.com:80", this method will return 80.

Return

the port for this URI or -1 if invalid or not present