summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-service-manager/index.html
blob: e51b8a0e5e6b66f29160890294a5d87037351535 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ServiceManager - 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><br/>
<br/>
<h1>ServiceManager</h1>
<code><span class="keyword">open</span> <span class="keyword">expect</span> <span class="keyword">class </span><span class="identifier">ServiceManager</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">T</span><span class="symbol">&gt;</span></code>
<p>Multiplatform service manager.</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">ServiceManager</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$<init>(pl.treksoft.kvision.remote.ServiceManager.T)/service">service</span><span class="symbol">:</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span></code>
<p>Multiplatform service manager.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="calls.html">calls</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">calls</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-map/index.html"><span class="identifier">MutableMap</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="counter.html">counter</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">counter</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="mapper.html">mapper</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">mapper</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="routes.html">routes</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">routes</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol">&lt;</span><a href="../-k-v-server/index.html"><span class="identifier">KVServer</span></a><span class="symbol">.</span><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/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="service.html">service</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">service</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="apply-routes.html">applyRoutes</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">applyRoutes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$applyRoutes(pl.treksoft.kvision.remote.KVServer)/k">k</span><span class="symbol">:</span>&nbsp;<a href="../-k-v-server/index.html"><span class="identifier">KVServer</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>Applies all defined routes to the given server.</p>
</td>
</tr>
<tr>
<td>
<p><a href="bind.html">bind</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">RET</span><span class="symbol">&gt;</span> <span class="identifier">bind</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)/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/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">PAR</span><span class="symbol">, </span><span class="identifier">RET</span><span class="symbol">&gt;</span> <span class="identifier">bind</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)/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/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">, </span><span class="identifier">PAR2</span><span class="symbol">, </span><span class="identifier">RET</span><span class="symbol">&gt;</span> <span class="identifier">bind</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)/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/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">, </span><span class="identifier">PAR2</span><span class="symbol">, </span><span class="identifier">PAR3</span><span class="symbol">, </span><span class="identifier">RET</span><span class="symbol">&gt;</span> <span class="identifier">bind</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)/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/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">, </span><span class="identifier">PAR2</span><span class="symbol">, </span><span class="identifier">PAR3</span><span class="symbol">, </span><span class="identifier">PAR4</span><span class="symbol">, </span><span class="identifier">RET</span><span class="symbol">&gt;</span> <span class="identifier">bind</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)/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/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">, </span><span class="identifier">PAR2</span><span class="symbol">, </span><span class="identifier">PAR3</span><span class="symbol">, </span><span class="identifier">PAR4</span><span class="symbol">, </span><span class="identifier">PAR5</span><span class="symbol">, </span><span class="identifier">RET</span><span class="symbol">&gt;</span> <span class="identifier">bind</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)/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>
</td>
</tr>
<tr>
<td>
<p><a href="call.html">call</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$call(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.kvision.remote.Request, , kotlin.Unit)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$call(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.kvision.remote.Request, , kotlin.Unit)))/path">path</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="identifier" id="pl.treksoft.kvision.remote.ServiceManager$call(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.kvision.remote.Request, , kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../-request.html"><span class="identifier">Request</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&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="../-k-v-server/index.html"><span class="identifier">KVServer</span></a><span class="symbol">.</span><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/-unit/index.html"><span class="identifier">Unit</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="get-calls.html">getCalls</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getCalls</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<a href="../-rpc-http-method/index.html"><span class="identifier">RpcHttpMethod</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code>
<p>Returns the map of defined paths.</p>
</td>
</tr>
<tr>
<td>
<p><a href="get-parameter.html">getParameter</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">getParameter</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.ServiceManager$getParameter(kotlin.String)/str">str</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="get-parameter.html#T"><span class="identifier">T</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Companion Object Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-l-o-g.html">LOG</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">LOG</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>