diff options
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html')
-rw-r--r-- | api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html | 24 |
1 files changed, 24 insertions, 0 deletions
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..2a0e976c --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html @@ -0,0 +1,24 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CallAgent.jsonRpcCall - 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> / <a href="./json-rpc-call.html">jsonRpcCall</a><br/> +<br/> +<h1>jsonRpcCall</h1> +<a name="pl.treksoft.kvision.remote.CallAgent$jsonRpcCall(kotlin.String, kotlin.collections.List((kotlin.String)), pl.treksoft.kvision.remote.RpcHttpMethod)"></a> +<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> +<h3>Parameters</h3> +<p><a name="url"></a> +<code>url</code> - an URL address</p> +<p><a name="method"></a> +<code>method</code> - a HTTP method</p> +<p><a name="data"></a> +<code>data</code> - data to be sent</p> +<p><strong>Return</strong><br/> +a promise of the result</p> +</BODY> +</HTML> |