The name of the remote function to call.
A valid JSON array or Object containing the function parameters.
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; client.notify("func", `{ "val": 3 }`.parseJSON); client.notify("func", JSONValue(3));
Send a notification to the server.
A notification is a function call with no reply requested. Note that this is different than calling a function that returns void - in the latter case a response is still received with a null result; if a notification calls a function that returns a value, that return value is not sent to the client.