| 
<?php
# Sample of usage RPC Client
 # Replace server_method to metod requested from server
 
 require_once 'jsonRPCClient.php';
 
 
 $client = new jsonRPCClient();
 
 $result = NULL;
 
 try {
 $result = $client->server_method(
 'param1' => '1'
 'param2' => '2',
 
 );
 }
 catch (Exception $e) {
 die($e->getMessage());
 }
 
 print_r($result);
 
 |