summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html
diff options
context:
space:
mode:
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.html24
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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="index.html">CallAgent</a>&nbsp;/&nbsp;<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>&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</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">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<span class="identifier">RpcHttpMethod</span>&nbsp;<span class="symbol">=</span>&nbsp;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">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</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>