summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-service-manager/bind.html
blob: 37a493f8d241ca9087956999ccaa611ded226cf7 (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ServiceManager.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">ServiceManager</a>&nbsp;/&nbsp;<a href="./bind.html">bind</a><br/>
<br/>
<h1>bind</h1>
<a name="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function2((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</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.ServiceManager$bind(kotlin.Function2((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/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="../-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function2((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, 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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function2((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;RpcHttpMethod.POST<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function2((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/prefix">prefix</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>&nbsp;<span class="symbol">=</span>&nbsp;"/"<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.ServiceManager$bind(kotlin.Function3((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</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.ServiceManager$bind(kotlin.Function3((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/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="bind.html#PAR"><span class="identifier">PAR</span></a><span class="symbol">,</span>&nbsp;<a href="../-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function3((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, 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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function3((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;RpcHttpMethod.POST<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function3((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/prefix">prefix</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>&nbsp;<span class="symbol">=</span>&nbsp;"/"<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.ServiceManager$bind(kotlin.Function4((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</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.ServiceManager$bind(kotlin.Function4((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/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="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="../-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function4((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, 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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function4((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;RpcHttpMethod.POST<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function4((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/prefix">prefix</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>&nbsp;<span class="symbol">=</span>&nbsp;"/"<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.ServiceManager$bind(kotlin.Function5((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</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.ServiceManager$bind(kotlin.Function5((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/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="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="../-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function5((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, 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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function5((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;RpcHttpMethod.POST<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function5((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/prefix">prefix</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>&nbsp;<span class="symbol">=</span>&nbsp;"/"<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.ServiceManager$bind(kotlin.Function6((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</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.ServiceManager$bind(kotlin.Function6((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/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="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="../-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function6((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, 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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function6((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;RpcHttpMethod.POST<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function6((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/prefix">prefix</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>&nbsp;<span class="symbol">=</span>&nbsp;"/"<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.ServiceManager$bind(kotlin.Function7((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.ServiceManager.bind.PAR5, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)"></a>
<code><span class="keyword">protected</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.ServiceManager$bind(kotlin.Function7((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.ServiceManager.bind.PAR5, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/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="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;<a href="../-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="bind.html#RET"><span class="identifier">RET</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function7((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.ServiceManager.bind.PAR5, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, 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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function7((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.ServiceManager.bind.PAR5, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;RpcHttpMethod.POST<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$bind(kotlin.Function7((pl.treksoft.kvision.remote.ServiceManager.T, pl.treksoft.kvision.remote.ServiceManager.bind.PAR1, pl.treksoft.kvision.remote.ServiceManager.bind.PAR2, pl.treksoft.kvision.remote.ServiceManager.bind.PAR3, pl.treksoft.kvision.remote.ServiceManager.bind.PAR4, pl.treksoft.kvision.remote.ServiceManager.bind.PAR5, pl.treksoft.kvision.remote.Request, kotlinx.coroutines.Deferred((pl.treksoft.kvision.remote.ServiceManager.bind.RET)))), kotlin.String, pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String)/prefix">prefix</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>&nbsp;<span class="symbol">=</span>&nbsp;"/"<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="route"></a>
<code>route</code> - a route</p>
<p><a name="method"></a>
<code>method</code> - a HTTP method</p>
<p><a name="prefix"></a>
<code>prefix</code> - an URL address prefix</p>
</BODY>
</HTML>