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

webSocket

inline suspend 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

inline suspend 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