Refactor RPC framework and enhance error handling.
This commit is contained in:
parent
42ba7013f7
commit
ef3b10b286
10 changed files with 383 additions and 245 deletions
|
@ -3,8 +3,8 @@
|
|||
require 'ncc';
|
||||
import('net.nosial.socialbox');
|
||||
|
||||
$client = new \Socialbox\Classes\RpcClient(generateRandomPeer());
|
||||
var_dump($client->exportSession());
|
||||
$client = new \Socialbox\SocialClient(generateRandomPeer());
|
||||
var_dump($client->ping());
|
||||
|
||||
function generateRandomPeer()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue