The name of the remote function to call.
A valid JSON array or Object containing the function parameters.
The server's response.
std.json.JSONException if the string cannot be parsed as JSON.
interface MyAPI { void func(int val); } auto client = new RPCClient!MyAPI("127.0.0.1", 54321); import std.json : JSONValue, parseJSON; auto resp = client.call("func", `{ "val": 3 }`.parseJSON); auto resp2 = client.call("func", JSONValue(3));
Make a function call on the RPC server.