diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-11-03 02:01:27 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-11-03 02:01:27 +0100 |
commit | 0025b1af165fd333afb27efee1d745d1e4e42770 (patch) | |
tree | 9d77a4d5c120becd01e7bfc7002a8ed9887288ea /api | |
parent | 3c60c4527015e46ec6faf3fce5cc58fadd088765 (diff) | |
download | kvision-0025b1af165fd333afb27efee1d745d1e4e42770.tar.gz kvision-0025b1af165fd333afb27efee1d745d1e4e42770.tar.bz2 kvision-0025b1af165fd333afb27efee1d745d1e4e42770.zip |
API Documentation for KVision 2.1.0
Diffstat (limited to 'api')
-rw-r--r-- | api/alltypes/index.html | 7 | ||||
-rw-r--r-- | api/index-outline.html | 56 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.chart/-configuration/-init-.html | 4 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.chart/-configuration/index.html | 9 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.chart/-configuration/plugins.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-response/-init-.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-response/data.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-response/index.html | 68 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-response/jq-x-h-r.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-response/text-status.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-rest-client/index.html | 28 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-rest-client/remote-request.html | 88 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/-rest-client/request.html | 104 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.rest/index.html | 9 |
14 files changed, 439 insertions, 5 deletions
diff --git a/api/alltypes/index.html b/api/alltypes/index.html index 929c6577..834cfd51 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -3095,6 +3095,13 @@ performance is O(1) and for cache eviction, it is O(1).</p> </tr> <tr> <td> +<a href="../pl.treksoft.kvision.rest/-response/index.html">pl.treksoft.kvision.rest.Response</a></td> +<td> +<p>A response wrapper</p> +</td> +</tr> +<tr> +<td> <a href="../pl.treksoft.kvision.electron/-response-headers.html">pl.treksoft.kvision.electron.ResponseHeaders</a></td> <td> </td> diff --git a/api/index-outline.html b/api/index-outline.html index ccff4194..c088fab7 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -3380,10 +3380,11 @@ <link rel="stylesheet" href="../style.css"> </HEAD> <BODY> -<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/-init-.html"><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/type">type</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.chart/-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/options">options</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/-init-.html"><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.chart/-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/plugins">plugins</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/data-sets.html"><span class="keyword">val </span><span class="identifier">dataSets</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.chart/-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/labels.html"><span class="keyword">val </span><span class="identifier">labels</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/options.html"><span class="keyword">val </span><span class="identifier">options</span><span class="symbol">: </span><a href="pl.treksoft.kvision.chart/-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/plugins.html"><span class="keyword">val </span><span class="identifier">plugins</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/type.html"><span class="keyword">val </span><span class="identifier">type</span><span class="symbol">: </span><a href="pl.treksoft.kvision.chart/-chart-type/index.html"><span class="identifier">ChartType</span></a></a></a><br/> </BODY> </HTML> @@ -10067,6 +10068,22 @@ </BODY> </HTML> </ul> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Response</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></a></a><br/> +<ul> +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Module Contents</title> +<link rel="stylesheet" href="../style.css"> +</HEAD> +<BODY> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/-init-.html"><span class="identifier">Response</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/data">data</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.rest/-response/index.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/textStatus">textStatus</span><span class="symbol">:</span> <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.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/jqXHR">jqXHR</span><span class="symbol">:</span> <span class="identifier">JQueryXHR</span><span class="symbol">)</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/data.html"><span class="keyword">val </span><span class="identifier">data</span><span class="symbol">: </span><a href="pl.treksoft.kvision.rest/-response/index.html#T"><span class="identifier">T</span></a></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/jq-x-h-r.html"><span class="keyword">val </span><span class="identifier">jqXHR</span><span class="symbol">: </span><span class="identifier">JQueryXHR</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/text-status.html"><span class="keyword">val </span><span class="identifier">textStatus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></a></a><br/> +</BODY> +</HTML> +</ul> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.electron/-response-headers.html"><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">ResponseHeaders</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.panel/-responsive-grid-panel/index.html"><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ResponsiveGridPanel</span> <span class="symbol">:</span> <a href="pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></a></a><br/> <ul> @@ -10139,6 +10156,15 @@ <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="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> <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> <span class="keyword">dynamic</span> <span class="symbol">=</span> 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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> 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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</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="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> <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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-rest-client/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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> 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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><span class="keyword">dynamic</span><span class="symbol">></span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="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> <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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-rest-client/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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> 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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <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$remoteRequest(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <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$request(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> </BODY> </HTML> </ul> @@ -15540,10 +15566,11 @@ <link rel="stylesheet" href="../style.css"> </HEAD> <BODY> -<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/-init-.html"><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/type">type</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.chart/-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/options">options</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/-init-.html"><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.chart/-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.chart/-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/plugins">plugins</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/data-sets.html"><span class="keyword">val </span><span class="identifier">dataSets</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.chart/-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/labels.html"><span class="keyword">val </span><span class="identifier">labels</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/options.html"><span class="keyword">val </span><span class="identifier">options</span><span class="symbol">: </span><a href="pl.treksoft.kvision.chart/-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/plugins.html"><span class="keyword">val </span><span class="identifier">plugins</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.chart/-configuration/type.html"><span class="keyword">val </span><span class="identifier">type</span><span class="symbol">: </span><a href="pl.treksoft.kvision.chart/-chart-type/index.html"><span class="identifier">ChartType</span></a></a></a><br/> </BODY> </HTML> @@ -28508,6 +28535,22 @@ </BODY> </HTML> </ul> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Response</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></a></a><br/> +<ul> +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Module Contents</title> +<link rel="stylesheet" href="../style.css"> +</HEAD> +<BODY> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/-init-.html"><span class="identifier">Response</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/data">data</span><span class="symbol">:</span> <a href="pl.treksoft.kvision.rest/-response/index.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/textStatus">textStatus</span><span class="symbol">:</span> <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.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/jqXHR">jqXHR</span><span class="symbol">:</span> <span class="identifier">JQueryXHR</span><span class="symbol">)</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/data.html"><span class="keyword">val </span><span class="identifier">data</span><span class="symbol">: </span><a href="pl.treksoft.kvision.rest/-response/index.html#T"><span class="identifier">T</span></a></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/jq-x-h-r.html"><span class="keyword">val </span><span class="identifier">jqXHR</span><span class="symbol">: </span><span class="identifier">JQueryXHR</span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-response/text-status.html"><span class="keyword">val </span><span class="identifier">textStatus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></a></a><br/> +</BODY> +</HTML> +</ul> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/index.html"><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RestClient</span></a></a><br/> <ul> <HTML> @@ -28527,6 +28570,15 @@ <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="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> <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> <span class="keyword">dynamic</span> <span class="symbol">=</span> 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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> 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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</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="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> <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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-rest-client/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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> 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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><span class="keyword">dynamic</span><span class="symbol">></span></a></a><br/> <a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="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> <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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#V"><span class="identifier">V</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-rest-client/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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> 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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-call.html#T"><span class="identifier">T</span></a><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <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$remoteRequest(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html"><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <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$request(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> +<a href="/home/rjaros/git/kvision/build/kdoc/kvision/index"><a href="pl.treksoft.kvision.rest/-rest-client/request.html"><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-rest-client/request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="pl.treksoft.kvision.rest/-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="pl.treksoft.kvision.rest/-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="pl.treksoft.kvision.rest/-rest-client/request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></a></a><br/> </BODY> </HTML> </ul> diff --git a/api/pl.treksoft.kvision.chart/-configuration/-init-.html b/api/pl.treksoft.kvision.chart/-configuration/-init-.html index 76648064..8d4a3d0c 100644 --- a/api/pl.treksoft.kvision.chart/-configuration/-init-.html +++ b/api/pl.treksoft.kvision.chart/-configuration/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.chart</a> / <a href="index.html">Configuration</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)"></a> -<code><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/type">type</span><span class="symbol">:</span> <a href="../-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/options">options</span><span class="symbol">:</span> <a href="../-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code> +<a name="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))"></a> +<code><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="../-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/plugins">plugins</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code> <p>Chart configuration.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.chart/-configuration/index.html b/api/pl.treksoft.kvision.chart/-configuration/index.html index 0eb2b05b..20a5cb1f 100644 --- a/api/pl.treksoft.kvision.chart/-configuration/index.html +++ b/api/pl.treksoft.kvision.chart/-configuration/index.html @@ -18,7 +18,7 @@ <p><a href="-init-.html"><init></a></p> </td> <td> -<code><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/type">type</span><span class="symbol">:</span> <a href="../-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions)/options">options</span><span class="symbol">:</span> <a href="../-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code> +<code><span class="identifier">Configuration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/type">type</span><span class="symbol">:</span> <a href="../-chart-type/index.html"><span class="identifier">ChartType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/dataSets">dataSets</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-data-sets/index.html"><span class="identifier">DataSets</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/labels">labels</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-chart-options/index.html"><span class="identifier">ChartOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Configuration$<init>(pl.treksoft.kvision.chart.ChartType, kotlin.collections.List((pl.treksoft.kvision.chart.DataSets)), kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.chart.ChartOptions, kotlin.collections.List((kotlin.Any)))/plugins">plugins</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code> <p>Chart configuration.</p> </td> </tr> @@ -50,6 +50,13 @@ </tr> <tr> <td> +<p><a href="plugins.html">plugins</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">plugins</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span></code></td> +</tr> +<tr> +<td> <p><a href="type.html">type</a></p> </td> <td> diff --git a/api/pl.treksoft.kvision.chart/-configuration/plugins.html b/api/pl.treksoft.kvision.chart/-configuration/plugins.html new file mode 100644 index 00000000..6b60addc --- /dev/null +++ b/api/pl.treksoft.kvision.chart/-configuration/plugins.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Configuration.plugins - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.chart</a> / <a href="index.html">Configuration</a> / <a href="./plugins.html">plugins</a><br/> +<br/> +<h1>plugins</h1> +<a name="pl.treksoft.kvision.chart.Configuration$plugins"></a> +<code><span class="keyword">val </span><span class="identifier">plugins</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">?</span></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/-response/-init-.html b/api/pl.treksoft.kvision.rest/-response/-init-.html new file mode 100644 index 00000000..2388a3d6 --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-response/-init-.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Response.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="index.html">Response</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)"></a> +<code><span class="identifier">Response</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/data">data</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/textStatus">textStatus</span><span class="symbol">:</span> <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.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/jqXHR">jqXHR</span><span class="symbol">:</span> <span class="identifier">JQueryXHR</span><span class="symbol">)</span></code> +<p>A response wrapper</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/-response/data.html b/api/pl.treksoft.kvision.rest/-response/data.html new file mode 100644 index 00000000..e129278e --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-response/data.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Response.data - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="index.html">Response</a> / <a href="./data.html">data</a><br/> +<br/> +<h1>data</h1> +<a name="pl.treksoft.kvision.rest.Response$data"></a> +<code><span class="keyword">val </span><span class="identifier">data</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/-response/index.html b/api/pl.treksoft.kvision.rest/-response/index.html new file mode 100644 index 00000000..3c2a3d0d --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-response/index.html @@ -0,0 +1,68 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Response - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="./index.html">Response</a><br/> +<br/> +<h1>Response</h1> +<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Response</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> +<p>A response wrapper</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Response</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/data">data</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/textStatus">textStatus</span><span class="symbol">:</span> <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.Response$<init>(pl.treksoft.kvision.rest.Response.T, kotlin.String, pl.treksoft.jquery.JQueryXHR)/jqXHR">jqXHR</span><span class="symbol">:</span> <span class="identifier">JQueryXHR</span><span class="symbol">)</span></code> +<p>A response wrapper</p> +</td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="data.html">data</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">data</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="jq-x-h-r.html">jqXHR</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">jqXHR</span><span class="symbol">: </span><span class="identifier">JQueryXHR</span></code></td> +</tr> +<tr> +<td> +<p><a href="text-status.html">textStatus</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">textStatus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></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"><</span><span class="identifier">T</span><span class="symbol">></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> <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/-response/jq-x-h-r.html b/api/pl.treksoft.kvision.rest/-response/jq-x-h-r.html new file mode 100644 index 00000000..6559ca4e --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-response/jq-x-h-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Response.jqXHR - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="index.html">Response</a> / <a href="./jq-x-h-r.html">jqXHR</a><br/> +<br/> +<h1>jqXHR</h1> +<a name="pl.treksoft.kvision.rest.Response$jqXHR"></a> +<code><span class="keyword">val </span><span class="identifier">jqXHR</span><span class="symbol">: </span><span class="identifier">JQueryXHR</span></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/-response/text-status.html b/api/pl.treksoft.kvision.rest/-response/text-status.html new file mode 100644 index 00000000..dcfd666c --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-response/text-status.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Response.textStatus - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="index.html">Response</a> / <a href="./text-status.html">textStatus</a><br/> +<br/> +<h1>textStatus</h1> +<a name="pl.treksoft.kvision.rest.Response$textStatus"></a> +<code><span class="keyword">val </span><span class="identifier">textStatus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/-rest-client/index.html b/api/pl.treksoft.kvision.rest/-rest-client/index.html index a0291ef4..84ebc28e 100644 --- a/api/pl.treksoft.kvision.rest/-rest-client/index.html +++ b/api/pl.treksoft.kvision.rest/-rest-client/index.html @@ -55,6 +55,34 @@ <p>Makes a remote call to the remote server.</p> </td> </tr> +<tr> +<td> +<p><a href="remote-request.html">remoteRequest</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <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$remoteRequest(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> +<p>Makes a remote call to the remote server.</p> +</td> +</tr> +<tr> +<td> +<p><a href="request.html">request</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <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$request(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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"><</span><span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> +<p>Helper inline function to automatically get serializer for the data.</p> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> +<p>Helper inline function to automatically get serializer for the data and deserializer for the result value.</p> +</td> +</tr> </tbody> </table> <h3>Extension Functions</h3> diff --git a/api/pl.treksoft.kvision.rest/-rest-client/remote-request.html b/api/pl.treksoft.kvision.rest/-rest-client/remote-request.html new file mode 100644 index 00000000..8ef4c969 --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-rest-client/remote-request.html @@ -0,0 +1,88 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RestClient.remoteRequest - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="index.html">RestClient</a> / <a href="./remote-request.html">remoteRequest</a><br/> +<br/> +<h1>remoteRequest</h1> +<a name="pl.treksoft.kvision.rest.RestClient$remoteRequest(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">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <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$remoteRequest(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlin.Any, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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"><</span><span class="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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"><</span><span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">remoteRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <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$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="remote-request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$remoteRequest(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.V)), pl.treksoft.kvision.rest.RestClient.remoteRequest.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.remoteRequest.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="remote-request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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 response</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/-rest-client/request.html b/api/pl.treksoft.kvision.rest/-rest-client/request.html new file mode 100644 index 00000000..8c333ddd --- /dev/null +++ b/api/pl.treksoft.kvision.rest/-rest-client/request.html @@ -0,0 +1,104 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RestClient.request - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.rest</a> / <a href="index.html">RestClient</a> / <a href="./request.html">request</a><br/> +<br/> +<h1>request</h1> +<a name="pl.treksoft.kvision.rest.RestClient$request(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"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <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$request(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> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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"><</span><span class="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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"><</span><span class="identifier">T</span> <span class="symbol">:</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="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">DeserializationStrategy</span><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.V, kotlinx.serialization.DeserializationStrategy((pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.rest.RestClient.request.V)), pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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 response</p> +<a name="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</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="keyword">reified</span> <span class="identifier">V</span> <span class="symbol">:</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="identifier">request</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <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$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="request.html#V"><span class="identifier">V</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="../-http-method/index.html"><span class="identifier">HttpMethod</span></a> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.rest.RestClient$request(kotlin.String, pl.treksoft.kvision.rest.RestClient.request.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> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> 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"><</span><a href="../-response/index.html"><span class="identifier">Response</span></a><span class="symbol"><</span><a href="request.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></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 response</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.rest/index.html b/api/pl.treksoft.kvision.rest/index.html index 252116c8..c4423f46 100644 --- a/api/pl.treksoft.kvision.rest/index.html +++ b/api/pl.treksoft.kvision.rest/index.html @@ -21,6 +21,15 @@ </tr> <tr> <td> +<p><a href="-response/index.html">Response</a></p> +</td> +<td> +<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Response</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> +<p>A response wrapper</p> +</td> +</tr> +<tr> +<td> <p><a href="-rest-client/index.html">RestClient</a></p> </td> <td> |