From 35ba11a0343f626aa1832b4ba43a0ed2363fc265 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 6 Apr 2019 19:36:32 +0200 Subject: Dokka upgrade to 0.9.18 --- api/pl.treksoft.kvision.rest/-rest-client/call.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'api/pl.treksoft.kvision.rest/-rest-client/call.html') diff --git a/api/pl.treksoft.kvision.rest/-rest-client/call.html b/api/pl.treksoft.kvision.rest/-rest-client/call.html index 97ba8877..a1004fe5 100644 --- a/api/pl.treksoft.kvision.rest/-rest-client/call.html +++ b/api/pl.treksoft.kvision.rest/-rest-client/call.html @@ -9,7 +9,7 @@

call

-inline fun <reified T : Any> call(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T> +inline fun <reified T : Any> call(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>

Helper inline function to automatically get deserializer for the result value with dynamic data.

Parameters

@@ -27,7 +27,7 @@

Return
a promise of the result

-inline fun <reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic> +inline fun <reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>

Helper inline function to automatically get serializer for the data.

Parameters

@@ -43,7 +43,7 @@ a promise of the result

Return
a promise of the result

-inline fun <T : Any, reified V : Any> call(url: String, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T> +inline fun <T : Any, reified V : Any> call(url: String, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>

Helper inline function to automatically get serializer for the data.

Parameters

@@ -63,7 +63,7 @@ a promise of the result

Return
a promise of the result

-inline fun <reified T : Any, V : Any> call(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T> +inline fun <reified T : Any, V : Any> call(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>

Helper inline function to automatically deserializer for the result value with typed data.

Parameters

@@ -83,7 +83,7 @@ a promise of the result

Return
a promise of the result

-inline fun <reified T : Any, reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T> +inline fun <reified T : Any, reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>

Helper inline function to automatically get serializer for the data and deserializer for the result value.

Parameters

-- cgit