Package-level declarations

Functions

Link copied to clipboard
fun Route.webSocketEvents(route: String = Routes.DEFAULT_EVENTS_ROUTE, preprocess: suspend DefaultWebSocketServerSession.(EventReference) -> Unit = {})

Installs a WebSocket route to your application which is supposed to propagate events to clients. This function is supposed to be called once.