kvision / pl.treksoft.kvision.remote / KVRemoteAgent / webSocket

webSocket

suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, noinline handler: suspend (<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit): Unit

Executes defined web socket connection

suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><List<PAR2>>) -> Unit, noinline handler: suspend (<ERROR CLASS><PAR1>, <ERROR CLASS><List<PAR2>>) -> Unit): Unit

Executes defined web socket connection returning list objects