KVWebSocketHandler

class KVWebSocketHandler(services: List<KVServiceManager<*>>, threadLocalWebSocketSession: ThreadLocal<WebSocketSession>, applicationContext: ApplicationContext) : WebSocketHandler, CoroutineScope

Spring Boot WebSocket handler

Constructors

KVWebSocketHandler
Link copied to clipboard
fun KVWebSocketHandler(services: List<KVServiceManager<*>>, threadLocalWebSocketSession: ThreadLocal<WebSocketSession>, applicationContext: ApplicationContext)

Functions

getSubProtocols
Link copied to clipboard
open fun getSubProtocols(): MutableList<String>
handle
Link copied to clipboard
open override fun handle(session: WebSocketSession): Mono<Void>

Properties

coroutineContext
Link copied to clipboard
open override val coroutineContext: CoroutineContext