diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-06-02 00:47:15 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-06-02 00:47:15 +0200 |
commit | 12d2bd198c9ff5cb197e50da2d024a2418b8ee36 (patch) | |
tree | e26bb718fdfac0b1c7745d9d9c2b2c93e6ce51f6 /api/pl.treksoft.kvision.remote/-call-agent/index.html | |
parent | 7ada58635fcbbbef5a5a3c466ae688a4319cde31 (diff) | |
download | kvision-12d2bd198c9ff5cb197e50da2d024a2418b8ee36.tar.gz kvision-12d2bd198c9ff5cb197e50da2d024a2418b8ee36.tar.bz2 kvision-12d2bd198c9ff5cb197e50da2d024a2418b8ee36.zip |
Upgrade to 0.0.13
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-call-agent/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.remote/-call-agent/index.html | 51 |
1 files changed, 51 insertions, 0 deletions
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..041e1ef1 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-call-agent/index.html @@ -0,0 +1,51 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CallAgent - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="./index.html">CallAgent</a><br/> +<br/> +<h1>CallAgent</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CallAgent</span></code> +<p>An agent responsible for remote calls.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">CallAgent</span><span class="symbol">(</span><span class="symbol">)</span></code> +<p>An agent responsible for remote calls.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="json-rpc-call.html">jsonRpcCall</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">jsonRpcCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$jsonRpcCall(kotlin.String, kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.remote.RpcHttpMethod)/url">url</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$jsonRpcCall(kotlin.String, kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.remote.RpcHttpMethod)/data">data</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">></span> <span class="symbol">=</span> listOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$jsonRpcCall(kotlin.String, kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.remote.RpcHttpMethod)/method">method</span><span class="symbol">:</span> <span class="identifier">RpcHttpMethod</span> <span class="symbol">=</span> RpcHttpMethod.POST<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code> +<p>Makes an JSON-RPC call to the remote server.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remote-call.html">remoteCall</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">remoteCall</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.remote.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/url">url</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.remote.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/data">data</span><span class="symbol">:</span> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.remote.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/method">method</span><span class="symbol">:</span> <span class="identifier">HttpMethod</span> <span class="symbol">=</span> HttpMethod.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.remote.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/contentType">contentType</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "application/json"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.CallAgent$remoteCall(kotlin.String, kotlin.Any, pl.treksoft.kvision.remote.HttpMethod, kotlin.String, kotlin.Function2((pl.treksoft.jquery.JQueryXHR, pl.treksoft.jquery.JQueryAjaxSettings, kotlin.Boolean)))/beforeSend">beforeSend</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="identifier">JQueryAjaxSettings</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span></code> +<p>Makes a remote call to the remote server.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |