Registry / networking / hyperf-rpc-client

hyperf-rpc-client

JSON →
library3.1.63phppackagistunverified

An abstract rpc server component for Hyperf.

composer require hyperf/rpc-client
INSTALL
IMPORT
SIG · HYPERF-RPC-CLIENT
H
hyperf-rpc-client
networkingphpv3.1.63
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AbstractServiceClient
use Hyperf\RpcClient\AbstractServiceClient;

Create an RPC client by extending AbstractServiceClient

use Hyperf\RpcClient\AbstractServiceClient; class UserServiceClient extends AbstractServiceClient { protected $serviceName = 'UserService'; protected $protocol = 'jsonrpc-http'; }
Debug
Known issues
gotchaRequires Hyperf framework and a service registry
fix
Install hyperf/rpc-server and configure Consul or another registry
affects: >=3.0.0
Upgrade
Version history
3.1.63latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hyperf-rpc-client — pip install hyperf-rpc-client · libregistry