public static class URLProtocol.Companion
Modifier and Type | Method and Description |
---|---|
URLProtocol |
createOrDefault(java.lang.String name)
Create an instance by name or use already existing instance
|
java.util.Map<java.lang.String,io.ktor.http.URLProtocol> |
getByName()
Protocols by names map
|
URLProtocol |
getHTTP()
HTTP with port 80
|
URLProtocol |
getHTTPS()
secure HTTPS with port 443
|
URLProtocol |
getWS()
Web socket over HTTP on port 80
|
URLProtocol |
getWSS()
Web socket over secure HTTPS on port 443
|
public URLProtocol getHTTP()
HTTP with port 80
public URLProtocol getHTTPS()
secure HTTPS with port 443
public URLProtocol getWS()
Web socket over HTTP on port 80
public URLProtocol getWSS()
Web socket over secure HTTPS on port 443
public java.util.Map<java.lang.String,io.ktor.http.URLProtocol> getByName()
Protocols by names map
public URLProtocol createOrDefault(java.lang.String name)
Create an instance by name or use already existing instance