Instantiate an RPCClient bound to the specified host.
Execute a batch of function calls.
Send a Request object to the server.
Make a function call on the RPC server.
Send a notification to the server.
Make a blocking remote call with natural syntax.
API = An interface containing the function definitions to call on the remote server. <BR> Transport = The network transport to use; by default, we use a TCPTransport.
// This is the list of functions on the RPC server. interface MyRemoteFunctions { long func(string param) { return 56789; } } // Connect over TCP to a server on localhost. auto rpc = new RPCClient!MyRemoteFunctions("127.0.0.1", 54321); long retval = rpc.func("some string"); assert(retval == 56789);
Implementation of a JSON-RPC client.