URLProtocol

data class URLProtocol(val name: String, val defaultPort: Int)

Represents URL protocol

Constructors

Link copied to clipboard
constructor(name: String, defaultPort: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

default port for protocol or -1 if not known

Link copied to clipboard

of protocol (schema)

Functions

Link copied to clipboard

Check if the protocol is secure

Link copied to clipboard

Check if the protocol is websocket