Refactor RPC framework and enhance error handling.

This commit is contained in:
netkas 2024-12-19 15:09:22 -05:00
parent 42ba7013f7
commit ef3b10b286
10 changed files with 383 additions and 245 deletions

View file

@ -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()
{