From eb930482e9972a21d39f2aea8b813acf58ff5b64 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 22 Oct 2018 00:01:39 +0200 Subject: API documentation for KVision 0.0.19 --- .../-call-agent/-init-.html | 15 +++++++ .../-call-agent/index.html | 51 ++++++++++++++++++++++ .../-call-agent/json-rpc-call.html | 24 ++++++++++ .../-call-agent/remote-call.html | 24 ++++++++++ 4 files changed, 114 insertions(+) create mode 100644 api/pl.treksoft.kvision.remote/-call-agent/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-call-agent/index.html create mode 100644 api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html create mode 100644 api/pl.treksoft.kvision.remote/-call-agent/remote-call.html (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 new file mode 100644 index 00000000..2a46f6df --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-call-agent/-init-.html @@ -0,0 +1,15 @@ + + + +CallAgent.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / CallAgent / <init>
+
+

<init>

+ +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 new file mode 100644 index 00000000..1c92ef13 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-call-agent/index.html @@ -0,0 +1,51 @@ + + + +CallAgent - kvision + + + +kvision / pl.treksoft.kvision.remote / CallAgent
+
+

CallAgent

+open class CallAgent +

An agent responsible for remote calls.

+

Constructors

+ + + + + + + +
+

<init>

+
+CallAgent() +

An agent responsible for remote calls.

+
+

Functions

+ + + + + + + + + + + +
+

jsonRpcCall

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

Makes an JSON-RPC call to the remote server.

+
+

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.

+
+ + 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 new file mode 100644 index 00000000..7fc6404d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html @@ -0,0 +1,24 @@ + + + +CallAgent.jsonRpcCall - kvision + + + +kvision / pl.treksoft.kvision.remote / CallAgent / jsonRpcCall
+
+

jsonRpcCall

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

Makes an JSON-RPC call to the remote server.

+

Parameters

+

+url - an URL address

+

+method - a HTTP method

+

+data - data to be sent

+

Return
+a promise of the result

+ + diff --git a/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html b/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html new file mode 100644 index 00000000..342ae5cc --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html @@ -0,0 +1,24 @@ + + + +CallAgent.remoteCall - kvision + + + +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> +

Makes a remote call to the remote server.

+

Parameters

+

+url - an URL address

+

+method - a HTTP method

+

+data - data to be sent

+

Return
+a promise of the result

+ + -- cgit