Companion

object Companion

Functions

Link copied to clipboard
fun createOrDefault(name: String): URLProtocol

Create an instance by name or use already existing instance

Properties

Link copied to clipboard
val byName: Map<String, URLProtocol>

Protocols by names map

Link copied to clipboard
val HTTP: URLProtocol

HTTP with port 80

Link copied to clipboard
val HTTPS: URLProtocol

secure HTTPS with port 443

Link copied to clipboard
val SOCKS: URLProtocol

Socks proxy url protocol.

Link copied to clipboard
val WS: URLProtocol

Web socket over HTTP on port 80

Link copied to clipboard
val WSS: URLProtocol

Web socket over secure HTTPS on port 443