1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>KVServiceManager.bind - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">KVServiceManager</a> / <a href="./bind.html">bind</a><br/>
<br/>
<h1>bind</h1>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">RET</span><span class="symbol">></span> <span class="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/function">function</span><span class="symbol">:</span> <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="symbol">)</span> <span class="symbol">-></span> <a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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><br/>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction2((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">PAR</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">RET</span><span class="symbol">></span> <span class="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction2((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/function">function</span><span class="symbol">:</span> <span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="bind.html#PAR"><span class="identifier">PAR</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction2((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction2((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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><br/>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">RET</span><span class="symbol">></span> <span class="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/function">function</span><span class="symbol">:</span> <span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span> <a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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><br/>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR3</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">RET</span><span class="symbol">></span> <span class="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/function">function</span><span class="symbol">:</span> <span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span> <a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">,</span> <a href="bind.html#PAR3"><span class="identifier">PAR3</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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><br/>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction5((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR3</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR4</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">RET</span><span class="symbol">></span> <span class="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction5((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/function">function</span><span class="symbol">:</span> <span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span> <a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">,</span> <a href="bind.html#PAR3"><span class="identifier">PAR3</span></a><span class="symbol">,</span> <a href="bind.html#PAR4"><span class="identifier">PAR4</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction5((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction5((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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><br/>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction6((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR5, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR3</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR4</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">PAR5</span><span class="symbol">, </span><span class="keyword">reified</span> <span class="identifier">RET</span><span class="symbol">></span> <span class="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction6((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR5, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/function">function</span><span class="symbol">:</span> <span class="keyword">suspend </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span> <a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">,</span> <a href="bind.html#PAR3"><span class="identifier">PAR3</span></a><span class="symbol">,</span> <a href="bind.html#PAR4"><span class="identifier">PAR4</span></a><span class="symbol">,</span> <a href="bind.html#PAR5"><span class="identifier">PAR5</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction6((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR5, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction6((pl.treksoft.kvision.remote.KVServiceManager.T, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR3, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR4, pl.treksoft.kvision.remote.KVServiceManager.bind.PAR5, pl.treksoft.kvision.remote.KVServiceManager.bind.RET)), pl.treksoft.kvision.remote.HttpMethod, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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>Binds a given route with a function of the receiver.</p>
<h3>Parameters</h3>
<p><a name="function"></a>
<code>function</code> - a function of the receiver</p>
<p><a name="method"></a>
<code>method</code> - a HTTP method</p>
<p><a name="route"></a>
<code>route</code> - a route</p>
<a name="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, ((pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1)), ((pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2)), kotlin.Unit)), kotlin.String)"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">PAR1</span> <span class="symbol">:</span> <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> <span class="identifier">PAR2</span> <span class="symbol">:</span> <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="identifier">bind</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, ((pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1)), ((pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2)), kotlin.Unit)), kotlin.String)/function">function</span><span class="symbol">:</span> <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"><ERROR CLASS></span><span class="symbol"><</span><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">></span><span class="symbol">,</span> <span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">></span><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><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVServiceManager.T, ((pl.treksoft.kvision.remote.KVServiceManager.bind.PAR1)), ((pl.treksoft.kvision.remote.KVServiceManager.bind.PAR2)), kotlin.Unit)), kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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>Binds a given web socket connetion with a function of the receiver.</p>
<h3>Parameters</h3>
<p><a name="function"></a>
<code>function</code> - a function of the receiver</p>
<p><a name="route"></a>
<code>route</code> - a web socket route</p>
</BODY>
</HTML>
|