public function clientAction() { $client = new Jsonrpc_Client('http://yaf-lib.com/search/server'); $client->debug = true; $result = $client->execute('find', array('lol')); DebugTools::print_r($result); }
<?php $client = new Jsonrpc_Client(); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5)); $client->call("http://yaf-lib.com/rpc/json", "addition", array(3, 5));