summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html
blob: a144afab0d9f375404ab2c6961cb608f0636adbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>KVServiceManager.addRoute - 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="./add-route.html">addRoute</a><br/>
<br/>
<h1>addRoute</h1>
<a name="pl.treksoft.kvision.remote.KVServiceManager$addRoute(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((, , kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="identifier">addRoute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$addRoute(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((, , kotlin.Unit)))/method">method</span><span class="symbol">:</span>&nbsp;<span class="identifier">RpcHttpMethod</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.KVServiceManager$addRoute(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((, , 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.KVServiceManager$addRoute(pl.treksoft.kvision.remote.RpcHttpMethod, kotlin.String, kotlin.Function2((, , kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">&lt;ERROR CLASS&gt;</span><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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
</BODY>
</HTML>