From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-call-agent/-init-.html | 2 +- .../-call-agent/index.html | 34 +++++++--------------- .../-call-agent/json-rpc-call.html | 4 +-- .../-call-agent/remote-call.html | 4 +-- 4 files changed, 15 insertions(+), 29 deletions(-) (limited to 'api/pl.treksoft.kvision.remote/-call-agent') diff --git a/api/pl.treksoft.kvision.remote/-call-agent/-init-.html b/api/pl.treksoft.kvision.remote/-call-agent/-init-.html index 2a46f6df..388418e8 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/-init-.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / CallAgent / <init>

<init>

- +(js) CallAgent()

An agent responsible for remote calls.

diff --git a/api/pl.treksoft.kvision.remote/-call-agent/index.html b/api/pl.treksoft.kvision.remote/-call-agent/index.html index bd9ab025..080fe9ef 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/index.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/index.html @@ -8,19 +8,19 @@ kvision / pl.treksoft.kvision.remote / CallAgent

CallAgent

-open class CallAgent +(js) open class CallAgent

An agent responsible for remote calls.

Constructors

+CallAgent()
-

<init>

+(js) +

<init>

-CallAgent()

An agent responsible for remote calls.

-
@@ -29,35 +29,21 @@ -

jsonRpcCall

+(js) +

jsonRpcCall

-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST): Promise<String>

Makes an JSON-RPC call to the remote server.

- +fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST): Promise<String> -

remoteCall

+(js) +

remoteCall

-fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>

Makes a remote call to the remote server.

- - - - -

Extension Functions

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

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
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 12ab8c4a..11093b97 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

- -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): Promise<String>

Makes an JSON-RPC call to the remote server.

Parameters

diff --git a/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html b/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html index f252436a..88cce294 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.remote / CallAgent / remoteCall

remoteCall

- -fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic> +(js) +fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>

Makes a remote call to the remote server.

Parameters

-- cgit