Package io.ktor.websocket
Types
Represents a server-side web socket session with all default implementations
WebSockets support feature. It is required to be installed first before binding any websocket endpoints
Represents a server-side web socket session
An OutgoingContent response object that could be used to respond()
: it will cause application engine to perform HTTP upgrade and start websocket RAW session.
Functions
Bind websocket at the current route optionally checking for websocket protocol (ignored if null
) Requires WebSockets feature to be installed first
Bind websocket at the current route + path optionally checking for websocket protocol (ignored if null
) Requires WebSockets feature to be installed first
Bind websocket at the current route optionally checking for websocket protocol (ignored if null
) Requires WebSockets feature to be installed first
Bind RAW websocket at the current route optionally checking for websocket protocol (ignored if null
) Requires WebSockets feature to be installed first
Bind RAW websocket at the current route + path optionally checking for websocket protocol (ignored if null
) Requires WebSockets feature to be installed first
Bind RAW websocket at the current route optionally checking for websocket protocol (ignored if null
) Requires WebSockets feature to be installed first