kvision / pl.treksoft.kvision.remote / KVWebSocketConfig

KVWebSocketConfig

open class KVWebSocketConfig

Automatic websockets configuration.

Constructors

<init>

KVWebSocketConfig()

Automatic websockets configuration.

Properties

applicationContext

lateinit var applicationContext: <ERROR CLASS>

services

lateinit var services: List<KVServiceManager<*>>

Functions

registerWebSocketHandlers

open fun registerWebSocketHandlers(registry: <ERROR CLASS>): Unit

routeInterceptor

open fun routeInterceptor(): <ERROR CLASS>

socketHandler

open fun socketHandler(): <ERROR CLASS>

webSocketSession

open fun webSocketSession(): <ERROR CLASS>

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.