The RPC server's response sent to clients.
Construct a response to send to the client.
Construct a predefined error response to send to the client.
Convert the Response to a JSON string to send to the client.
Get the id of the Response.
Construct an Response from a JSON string.
auto response = rpc.call("func", [1, 2, 3]); if (response.hasError()) writeln(response.error); else writeln(response.result);
See Implementation
The RPC server's response sent to clients.