Skip to content

leonardo-bartoli/php-JsonRpcClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

php json RPC client

Simple php class that implements json RPC client over raw tcp, designed to be used with go "net/rpc/jsonrpc" package.

Socket connections are opened following lazy pattern and are closed during object destruction.

JsonRpcClient($address, $port)

create a new connection

$connection = new JsonRpcClient($address, $port);

Call($method, $params)

get response for given method and params

$response = $connection->Call($method, $params);

About

Simple php class that implements json RPC over tcp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages