summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.remote/index.html')
-rw-r--r--api/pl.treksoft.kvision.remote/index.html76
1 files changed, 67 insertions, 9 deletions
diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html
index 3af6c987..530d287e 100644
--- a/api/pl.treksoft.kvision.remote/index.html
+++ b/api/pl.treksoft.kvision.remote/index.html
@@ -32,12 +32,32 @@
</tr>
<tr>
<td>
-<p><a href="-jooby-server/index.html">JoobyServer</a></p>
+<p><a href="-http-method/index.html">HttpMethod</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">actual</span> <span class="keyword">class </span><span class="identifier">JoobyServer</span></code>
-<p>A Jooby based server.
-Not used on the js platform.</p>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">HttpMethod</span></code></td>
+</tr>
+<tr>
+<td>
+<p><a href="-json-rpc-request/index.html">JsonRpcRequest</a></p>
+</td>
+<td>
+<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">JsonRpcRequest</span></code></td>
+</tr>
+<tr>
+<td>
+<p><a href="-json-rpc-response/index.html">JsonRpcResponse</a></p>
+</td>
+<td>
+<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">JsonRpcResponse</span></code></td>
+</tr>
+<tr>
+<td>
+<p><a href="-k-v-server/index.html">KVServer</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">expect</span> <span class="keyword">class </span><span class="identifier">KVServer</span></code>
+<p>A server.</p>
</td>
</tr>
<tr>
@@ -54,7 +74,7 @@ Not used on the js platform.</p>
<p><a href="-profile/index.html">Profile</a></p>
</td>
<td>
-<code><span class="keyword">data</span> <span class="keyword">actual</span> <span class="keyword">class </span><span class="identifier">Profile</span></code>
+<code><span class="keyword">expect</span> <span class="keyword">class </span><span class="identifier">Profile</span></code>
<p>A user profile.</p>
</td>
</tr>
@@ -72,10 +92,16 @@ Not used on the js platform.</p>
<p><a href="-request.html">Request</a></p>
</td>
<td>
-<code><span class="keyword">actual</span> <span class="keyword">interface </span><span class="identifier">Request</span></code>
-<p>A server request.
-Not used on the js platform.</p>
+<code><span class="keyword">expect</span> <span class="keyword">interface </span><span class="identifier">Request</span></code>
+<p>A server request.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-rpc-http-method/index.html">RpcHttpMethod</a></p>
</td>
+<td>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">RpcHttpMethod</span></code></td>
</tr>
<tr>
<td>
@@ -91,7 +117,7 @@ Not used on the js platform.</p>
<p><a href="-service-manager/index.html">ServiceManager</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">actual</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>
+<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>
</td>
</tr>
@@ -111,6 +137,20 @@ Not used on the js platform.</p>
</tr>
</tbody>
</table>
+<h3>Type Aliases</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-profile/index.html">Profile</a></p>
+</td>
+<td>
+<code><span class="keyword">actual</span> <span class="keyword">typealias </span><span class="identifier">Profile</span>&nbsp;<span class="symbol">=</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span></code>
+<p>A user profile.</p>
+</td>
+</tr>
+</tbody>
+</table>
<h3>Properties</h3>
<table>
<tbody>
@@ -125,5 +165,23 @@ Not used on the js platform.</p>
</tr>
</tbody>
</table>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="async.html">async</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">RESP</span><span class="symbol">&gt;</span> <a href="-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">async</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$async(pl.treksoft.kvision.remote.Request, kotlin.Function1((pl.treksoft.kvision.remote.Request, pl.treksoft.kvision.remote.async.RESP)))/block">block</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="symbol">-&gt;</span>&nbsp;<a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">&gt;</span></code>
+<p>A helper extension function for asynchronous request processing.</p>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">RESP</span><span class="symbol">&gt;</span> <a href="-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">async</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$async(pl.treksoft.kvision.remote.Request, kotlin.Function2((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.async.RESP)))/block">block</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="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">&gt;</span></code>
+<p>A helper extension function for asynchronous request processing with session.</p>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">RESP</span><span class="symbol">&gt;</span> <a href="-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">async</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$async(pl.treksoft.kvision.remote.Request, kotlin.Function3((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.async.RESP)))/block">block</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;<a href="-profile/index.html"><span class="identifier">Profile</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol">&lt;</span><a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">&gt;</span></code>
+<p>A helper extension function for asynchronous request processing with session and user profile.</p>
+</td>
+</tr>
+</tbody>
+</table>
</BODY>
</HTML>