public readonly property defaultPort as Int
Returns the default port for the current scheme.
import klyn.net url = URL("https://example.com") print(url.defaultPort)