diff options
Diffstat (limited to 'api/pl.treksoft.kvision.rest/-rest-client/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.rest/-rest-client/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
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> |