Package io.ktor.websocket
Types
interface DefaultWebSocketServerSession : Represents a server-side web socket session with all default implementations |
|
interface WebSocketServerSession : WebSocketSession Represents a server-side web socket session |
|
class WebSocketUpgrade : ProtocolUpgrade An OutgoingContent response object that could be used to |
|
class WebSockets : CoroutineScope WebSockets support feature. It is required to be installed first before binding any websocket endpoints |
Extensions for External Classes
Properties
val WebSocketServerSession.application: Application An application that started this web socket session |
Functions
fun WebSockets( |
|
fun Route.webSocket( Bind websocket at the current route optionally checking for websocket protocol (ignored if fun Route.webSocket( Bind websocket at the current route + path optionally checking for websocket protocol (ignored if |
|
fun Route.webSocketRaw( Bind RAW websocket at the current route + path optionally checking for websocket protocol (ignored if fun Route.webSocketRaw( Bind RAW websocket at the current route optionally checking for websocket protocol (ignored if |