json Rpc Call
fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: <ERROR CLASS> = HttpMethod.POST, requestFilter: <ERROR CLASS>.() -> Unit? = null): <ERROR CLASS><String>
Content copied to clipboard
Makes an JSON-RPC call to the remote server.
Return
a promise of the result
Parameters
url
an URL address
data
data to be sent
method
a HTTP method
request Filter
a request filtering function