summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-k-v-remote-agent/web-socket.html
blob: 464f3144f68cc2e4f8dc18cae40c84aba6ba3457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>KVRemoteAgent.webSocket - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="index.html">KVRemoteAgent</a>&nbsp;/&nbsp;<a href="./web-socket.html">webSocket</a><br/>
<br/>
<h1>webSocket</h1>
<a name="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)))"></a>
<code><span class="keyword">suspend</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">webSocket</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="web-socket.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="web-socket.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="symbol">(</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="web-socket.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="web-socket.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Executes defined web socket connection</p>
<a name="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)))"></a>
<code><span class="keyword">suspend</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">webSocket</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="web-socket.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="web-socket.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, ((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), ((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="symbol">(</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="web-socket.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="web-socket.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Executes defined web socket connection returning list objects</p>
</BODY>
</HTML>