All Bundles

Client

JSON RPC client

Operations

New

Constructor

New(address:String, port:Int)
Parameters
NameTypeDescription
addressStringserver address
portIntserver port

Call

Call remote procedure

method : public : Call(func_name:String, func_params:JsonElement) ~ JsonElement
Parameters
NameTypeDescription
func_nameStringname of function to call
func_paramsJsonElementfunction call parameters

Return
TypeDescription
JsonElementJSON response

GetLastError

Get the last error

method : public : GetLastError() ~ Collection.Tuple.Pair<IntRef,String>
Return
TypeDescription
Pair<IntRef,String>last error