ktor-websockets
Module Contents
alltypes
Module Contents
interface DefaultWebSocketServerSession : DefaultWebSocketSession, WebSocketServerSession
interface WebSocketServerSession : WebSocketSession
class WebSocketUpgrade : ProtocolUpgrade
class WebSockets : CoroutineScope
Module Contents
WebSockets(pingIntervalMillis: Long, timeoutMillis: Long, maxFrameSize: Long, masking: Boolean)
WebSockets(pingIntervalMillis: Long, timeoutMillis: Long, maxFrameSize: Long, masking: Boolean, extensionsConfig: WebSocketExtensionsConfig)
val EXTENSIONS_KEY: AttributeKey<List<WebSocketExtension<*>>>
companion object Feature : ApplicationFeature<Application, WebSocketOptions, WebSockets>
class WebSocketOptions
val coroutineContext: <ERROR CLASS>
val extensionsConfig: WebSocketExtensionsConfig
fun install(pipeline: Application, configure: WebSocketOptions.() -> Unit): WebSockets
val key: AttributeKey<WebSockets>
val masking: Boolean
val maxFrameSize: Long
val pingIntervalMillis: Long
val timeoutMillis: Long
io.ktor.routing.Route
Module Contents
fun Route.webSocket(protocol: String? = null, handler: suspend DefaultWebSocketServerSession.() -> Unit): Unit
fun Route.webSocket(webSocketProtocol: String, webSocketHandler: suspend DefaultWebSocketServerSession.() -> Unit, nothing: Nothing? = null): Unit
fun Route.webSocket(path: String, protocol: String? = null, handler: suspend DefaultWebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(path: String, protocol: String? = null, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(path: String, protocol: String? = null, negotiateExtensions: Boolean = false, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(protocol: String? = null, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(protocol: String? = null, negotiateExtensions: Boolean = false, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(webSocketProtocol: String, webSocketHandler: suspend WebSocketServerSession.() -> Unit, nothing: Nothing? = null): Unit
kotlinx.coroutines.CoroutineScope
kotlinx.coroutines.CoroutineScope
package io.ktor.http.cio.websocket
package io.ktor.websocket
Module Contents
interface DefaultWebSocketServerSession : DefaultWebSocketSession, WebSocketServerSession
interface WebSocketServerSession : WebSocketSession
class WebSocketUpgrade : ProtocolUpgrade
fun WebSockets(pingInterval: <ERROR CLASS>?, timeout: <ERROR CLASS>, maxFrameSize: Long, masking: Boolean): WebSockets
class WebSockets : CoroutineScope
Module Contents
WebSockets(pingIntervalMillis: Long, timeoutMillis: Long, maxFrameSize: Long, masking: Boolean)
WebSockets(pingIntervalMillis: Long, timeoutMillis: Long, maxFrameSize: Long, masking: Boolean, extensionsConfig: WebSocketExtensionsConfig)
val EXTENSIONS_KEY: AttributeKey<List<WebSocketExtension<*>>>
companion object Feature : ApplicationFeature<Application, WebSocketOptions, WebSockets>
class WebSocketOptions
val coroutineContext: <ERROR CLASS>
val extensionsConfig: WebSocketExtensionsConfig
fun install(pipeline: Application, configure: WebSocketOptions.() -> Unit): WebSockets
val key: AttributeKey<WebSockets>
val masking: Boolean
val maxFrameSize: Long
val pingIntervalMillis: Long
val timeoutMillis: Long
val WebSocketServerSession.application: Application
io.ktor.routing.Route
Module Contents
fun Route.webSocket(protocol: String? = null, handler: suspend DefaultWebSocketServerSession.() -> Unit): Unit
fun Route.webSocket(webSocketProtocol: String, webSocketHandler: suspend DefaultWebSocketServerSession.() -> Unit, nothing: Nothing? = null): Unit
fun Route.webSocket(path: String, protocol: String? = null, handler: suspend DefaultWebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(path: String, protocol: String? = null, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(path: String, protocol: String? = null, negotiateExtensions: Boolean = false, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(protocol: String? = null, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(protocol: String? = null, negotiateExtensions: Boolean = false, handler: suspend WebSocketServerSession.() -> Unit): Unit
fun Route.webSocketRaw(webSocketProtocol: String, webSocketHandler: suspend WebSocketServerSession.() -> Unit, nothing: Nothing? = null): Unit
kotlinx.coroutines.CoroutineScope