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/remote-call.html | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 api/pl.treksoft.kvision.remote/-call-agent/remote-call.html (limited to 'api/pl.treksoft.kvision.remote/-call-agent/remote-call.html') 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