Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
<?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));