From bfd5aa358e141d6c86d476d8bb66b104a80a3b96 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 21 May 2020 00:13:50 +0200 Subject: API documentation for KVision 3.10.0 --- api/pl.treksoft.kvision.remote/-call-agent/index.html | 2 +- api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'api/pl.treksoft.kvision.remote/-call-agent') diff --git a/api/pl.treksoft.kvision.remote/-call-agent/index.html b/api/pl.treksoft.kvision.remote/-call-agent/index.html index 080fe9ef..3e641619 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/index.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/index.html @@ -34,7 +34,7 @@

Makes an JSON-RPC call to the remote server.

-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST): Promise<String> +fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<String> diff --git a/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html b/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html index 11093b97..88714f9d 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.remote / CallAgent / jsonRpcCall

jsonRpcCall

-(js) -fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST): Promise<String> +(js) +fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<String>

Makes an JSON-RPC call to the remote server.

Parameters

-- cgit