aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.rest
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.rest')
-rw-r--r--api/pl.treksoft.kvision.rest/-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html15
-rw-r--r--api/pl.treksoft.kvision.rest/-http-method/-d-e-l-e-t-e.html14
-rw-r--r--api/pl.treksoft.kvision.rest/-http-method/-g-e-t.html14
-rw-r--r--api/pl.treksoft.kvision.rest/-http-method/-o-p-t-i-o-n-s.html14
-rw-r--r--api/pl.treksoft.kvision.rest/-http-method/-p-o-s-t.html14
-rw-r--r--api/pl.treksoft.kvision.rest/-http-method/-p-u-t.html14
-rw-r--r--api/pl.treksoft.kvision.rest/-http-method/index.html67
-rw-r--r--api/pl.treksoft.kvision.rest/-rest-client/-init-.html15
-rw-r--r--api/pl.treksoft.kvision.rest/-rest-client/call.html104
-rw-r--r--api/pl.treksoft.kvision.rest/-rest-client/index.html75
-rw-r--r--api/pl.treksoft.kvision.rest/-rest-client/remote-call.html88
-rw-r--r--api/pl.treksoft.kvision.rest/index.html48
12 files changed, 482 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.rest/-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html b/api/pl.treksoft.kvision.rest/-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html
new file mode 100644
index 00000000..90a6d361
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HTTP_UNAUTHORIZED - 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.rest</a>&nbsp;/&nbsp;<a href="./-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html">HTTP_UNAUTHORIZED</a><br/>
+<br/>
+<h1>HTTP_UNAUTHORIZED</h1>
+<a name="pl.treksoft.kvision.rest$HTTP_UNAUTHORIZED"></a>
+<code><span class="keyword">const</span> <span class="keyword">val </span><span class="identifier">HTTP_UNAUTHORIZED</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>
+<p>HTTP status unauthorized (401).</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-http-method/-d-e-l-e-t-e.html b/api/pl.treksoft.kvision.rest/-http-method/-d-e-l-e-t-e.html
new file mode 100644
index 00000000..0bad82c6
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-http-method/-d-e-l-e-t-e.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HttpMethod.DELETE - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">HttpMethod</a>&nbsp;/&nbsp;<a href="./-d-e-l-e-t-e.html">DELETE</a><br/>
+<br/>
+<h1>DELETE</h1>
+<a name="pl.treksoft.kvision.rest.HttpMethod.DELETE"></a>
+<code><span class="identifier">DELETE</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-http-method/-g-e-t.html b/api/pl.treksoft.kvision.rest/-http-method/-g-e-t.html
new file mode 100644
index 00000000..819c9b9f
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-http-method/-g-e-t.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HttpMethod.GET - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">HttpMethod</a>&nbsp;/&nbsp;<a href="./-g-e-t.html">GET</a><br/>
+<br/>
+<h1>GET</h1>
+<a name="pl.treksoft.kvision.rest.HttpMethod.GET"></a>
+<code><span class="identifier">GET</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-http-method/-o-p-t-i-o-n-s.html b/api/pl.treksoft.kvision.rest/-http-method/-o-p-t-i-o-n-s.html
new file mode 100644
index 00000000..3f5f50ca
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-http-method/-o-p-t-i-o-n-s.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HttpMethod.OPTIONS - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">HttpMethod</a>&nbsp;/&nbsp;<a href="./-o-p-t-i-o-n-s.html">OPTIONS</a><br/>
+<br/>
+<h1>OPTIONS</h1>
+<a name="pl.treksoft.kvision.rest.HttpMethod.OPTIONS"></a>
+<code><span class="identifier">OPTIONS</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-http-method/-p-o-s-t.html b/api/pl.treksoft.kvision.rest/-http-method/-p-o-s-t.html
new file mode 100644
index 00000000..081df335
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-http-method/-p-o-s-t.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HttpMethod.POST - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">HttpMethod</a>&nbsp;/&nbsp;<a href="./-p-o-s-t.html">POST</a><br/>
+<br/>
+<h1>POST</h1>
+<a name="pl.treksoft.kvision.rest.HttpMethod.POST"></a>
+<code><span class="identifier">POST</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-http-method/-p-u-t.html b/api/pl.treksoft.kvision.rest/-http-method/-p-u-t.html
new file mode 100644
index 00000000..f3476483
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-http-method/-p-u-t.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HttpMethod.PUT - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">HttpMethod</a>&nbsp;/&nbsp;<a href="./-p-u-t.html">PUT</a><br/>
+<br/>
+<h1>PUT</h1>
+<a name="pl.treksoft.kvision.rest.HttpMethod.PUT"></a>
+<code><span class="identifier">PUT</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-http-method/index.html b/api/pl.treksoft.kvision.rest/-http-method/index.html
new file mode 100644
index 00000000..9958de2f
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-http-method/index.html
@@ -0,0 +1,67 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>HttpMethod - 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.rest</a>&nbsp;/&nbsp;<a href="./index.html">HttpMethod</a><br/>
+<br/>
+<h1>HttpMethod</h1>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">HttpMethod</span></code>
+<h3>Enum Values</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-g-e-t.html">GET</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-p-o-s-t.html">POST</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-p-u-t.html">PUT</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-d-e-l-e-t-e.html">DELETE</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-o-p-t-i-o-n-s.html">OPTIONS</a></p>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Extension Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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> <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="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code>
+<p>Helper function for creating JavaScript objects from dynamic constructors.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-rest-client/-init-.html b/api/pl.treksoft.kvision.rest/-rest-client/-init-.html
new file mode 100644
index 00000000..bdfe37aa
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-rest-client/-init-.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>RestClient.<init> - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">RestClient</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
+<br/>
+<h1>&lt;init&gt;</h1>
+<a name="pl.treksoft.kvision.rest.RestClient$&lt;init&gt;()"></a>
+<code><span class="identifier">RestClient</span><span class="symbol">(</span><span class="symbol">)</span></code>
+<p>An agent responsible for remote calls.</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-rest-client/call.html b/api/pl.treksoft.kvision.rest/-rest-client/call.html
new file mode 100644
index 00000000..97ba8877
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-rest-client/call.html
@@ -0,0 +1,104 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>RestClient.call - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">RestClient</a>&nbsp;/&nbsp;<a href="./call.html">call</a><br/>
+<br/>
+<h1>call</h1>
+<a name="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">T</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get deserializer for the result value with dynamic data.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><a name="transform"></a>
+<code>transform</code> - a function to transform the result of the call</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</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.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><span class="keyword">dynamic</span><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get serializer for the data.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/deserializer">deserializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">DeserializationStrategy</span><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get serializer for the data.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="deserializer"></a>
+<code>deserializer</code> - a deserializer for the result value</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><a name="transform"></a>
+<code>transform</code> - a function to transform the result of the call</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">T</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="identifier">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically deserializer for the result value with typed data.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="serializer"></a>
+<code>serializer</code> - for the data</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><a name="transform"></a>
+<code>transform</code> - a function to transform the result of the call</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">T</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">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get serializer for the data and deserializer for the result value.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><a name="transform"></a>
+<code>transform</code> - a function to transform the result of the call</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-rest-client/index.html b/api/pl.treksoft.kvision.rest/-rest-client/index.html
new file mode 100644
index 00000000..c437ad69
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-rest-client/index.html
@@ -0,0 +1,75 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>RestClient - 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.rest</a>&nbsp;/&nbsp;<a href="./index.html">RestClient</a><br/>
+<br/>
+<h1>RestClient</h1>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RestClient</span></code>
+<p>An agent responsible for remote calls.</p>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-init-.html">&lt;init&gt;</a></p>
+</td>
+<td>
+<code><span class="identifier">RestClient</span><span class="symbol">(</span><span class="symbol">)</span></code>
+<p>An agent responsible for remote calls.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="call.html">call</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get deserializer for the result value with dynamic data.</p>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</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.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><span class="keyword">dynamic</span><span class="symbol">&gt;</span></code><br/>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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="identifier">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/deserializer">deserializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">DeserializationStrategy</span><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.call.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get serializer for the data.</p>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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="identifier">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.call.V)), pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically deserializer for the result value with typed data.</p>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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="identifier">V</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">call</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$call(kotlin.String, pl.treksoft.kvision.rest.RestClient.call.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Helper inline function to automatically get serializer for the data and deserializer for the result value.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="remote-call.html">remoteCall</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="identifier">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><span class="keyword">dynamic</span><span class="symbol">&gt;</span></code><br/>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/deserializer">deserializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">DeserializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code><br/>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">V</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">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span>&nbsp;<a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><span class="keyword">dynamic</span><span class="symbol">&gt;</span></code><br/>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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="identifier">V</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">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/deserializer">deserializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">DeserializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Makes a remote call to the remote server.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Extension Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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> <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="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code>
+<p>Helper function for creating JavaScript objects from dynamic constructors.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/-rest-client/remote-call.html b/api/pl.treksoft.kvision.rest/-rest-client/remote-call.html
new file mode 100644
index 00000000..265be4fa
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/-rest-client/remote-call.html
@@ -0,0 +1,88 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>RestClient.remoteCall - 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.rest</a>&nbsp;/&nbsp;<a href="index.html">RestClient</a>&nbsp;/&nbsp;<a href="./remote-call.html">remoteCall</a><br/>
+<br/>
+<h1>remoteCall</h1>
+<a name="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))"></a>
+<code><span class="keyword">fun </span><span class="identifier">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><span class="keyword">dynamic</span><span class="symbol">&gt;</span></code>
+<p>Makes a remote call to the remote server.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))"></a>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/deserializer">deserializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">DeserializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Makes a remote call to the remote server.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="deserializer"></a>
+<code>deserializer</code> - a deserializer for the result value</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><a name="transform"></a>
+<code>transform</code> - a function to transform the result of the call</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))"></a>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">V</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">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span>&nbsp;<a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><span class="keyword">dynamic</span><span class="symbol">&gt;</span></code>
+<p>Makes a remote call to the remote server.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="serializer"></a>
+<code>serializer</code> - for the data</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+<a name="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))"></a>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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="identifier">V</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">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/url">url</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.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/data">data</span><span class="symbol">:</span>&nbsp;<a href="remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/deserializer">deserializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">DeserializationStrategy</span><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/method">method</span><span class="symbol">:</span>&nbsp;<a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a>&nbsp;<span class="symbol">=</span>&nbsp;HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/contentType">contentType</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;"application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteCall(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.V)), pl.treksoft.kvision.rest.RestClient.remoteCall.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteCall.T)), pl.treksoft.kvision.rest.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)), kotlin.Function1((kotlin.Any, )))/transform">transform</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
+<p>Makes a remote call to the remote server.</p>
+<h3>Parameters</h3>
+<p><a name="url"></a>
+<code>url</code> - an URL address</p>
+<p><a name="serializer"></a>
+<code>serializer</code> - for the data</p>
+<p><a name="data"></a>
+<code>data</code> - data to be sent</p>
+<p><a name="deserializer"></a>
+<code>deserializer</code> - a deserializer for the result value</p>
+<p><a name="method"></a>
+<code>method</code> - a HTTP method</p>
+<p><a name="contentType"></a>
+<code>contentType</code> - a content type of the request</p>
+<p><a name="beforeSend"></a>
+<code>beforeSend</code> - a content type of the request</p>
+<p><a name="transform"></a>
+<code>transform</code> - a function to transform the result of the call</p>
+<p><strong>Return</strong><br/>
+a promise of the result</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.rest/index.html b/api/pl.treksoft.kvision.rest/index.html
new file mode 100644
index 00000000..252116c8
--- /dev/null
+++ b/api/pl.treksoft.kvision.rest/index.html
@@ -0,0 +1,48 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>pl.treksoft.kvision.rest - 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.rest</a><br/>
+<br/>
+<h2>Package pl.treksoft.kvision.rest</h2>
+<p>RESTful API client with support for type-safe connectivity.</p>
+<h3>Types</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-http-method/index.html">HttpMethod</a></p>
+</td>
+<td>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">HttpMethod</span></code></td>
+</tr>
+<tr>
+<td>
+<p><a href="-rest-client/index.html">RestClient</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RestClient</span></code>
+<p>An agent responsible for remote calls.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Properties</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html">HTTP_UNAUTHORIZED</a></p>
+</td>
+<td>
+<code><span class="keyword">const</span> <span class="keyword">val </span><span class="identifier">HTTP_UNAUTHORIZED</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>
+<p>HTTP status unauthorized (401).</p>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>