summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html
blob: 4e7b816ae80a3b59702ba74d8f11d10bc7bb74ce (plain)
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
41
42
43
44
45
46
<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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="index.html">KVServiceManager</a>&nbsp;/&nbsp;<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">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">RET</span><span class="symbol">&gt;</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>&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="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<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">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">RET</span><span class="symbol">&gt;</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>&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><a href="bind.html#PAR"><span class="identifier">PAR</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<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">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">RET</span><span class="symbol">&gt;</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>&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><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<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">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR3</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">RET</span><span class="symbol">&gt;</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>&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><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR3"><span class="identifier">PAR3</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<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">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR3</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR4</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">RET</span><span class="symbol">&gt;</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>&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><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR3"><span class="identifier">PAR3</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR4"><span class="identifier">PAR4</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<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">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR3</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR4</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR5</span><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">RET</span><span class="symbol">&gt;</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>&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><a href="bind.html#PAR1"><span class="identifier">PAR1</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR2"><span class="identifier">PAR2</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR3"><span class="identifier">PAR3</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR4"><span class="identifier">PAR4</span></a><span class="symbol">,</span>&nbsp;<a href="bind.html#PAR5"><span class="identifier">PAR5</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<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.Function3((pl.treksoft.kvision.remote.KVServiceManager.T, kotlin.String, , kotlin.collections.List(()))))"></a>
<code><span class="keyword">protected</span> <span class="keyword">actual</span> <span class="keyword">fun </span><span class="identifier">bind</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$bind(kotlin.Function3((pl.treksoft.kvision.remote.KVServiceManager.T, kotlin.String, , kotlin.collections.List(()))))/function">function</span><span class="symbol">:</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">.</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>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&gt;</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 function of the receiver as a select options source</p>
<h3>Parameters</h3>
<p><a name="function"></a>
<code>function</code> - a function of the receiver</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">&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">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>&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="bind.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="bind.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="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>&nbsp;<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>