Goridge
in package
implements
RPCConnectionInterface
FinalYes
Table of Contents
Interfaces
Properties
- $rpc : RPCInterface
Methods
- __construct() : mixed
- call() : mixed
- create() : RPCConnectionInterface
Properties
$rpc
private
RPCInterface
$rpc
Methods
__construct()
public
__construct(RelayInterface $relay) : mixed
Parameters
- $relay : RelayInterface
call()
public
call(string $method, mixed $payload) : mixed
Parameters
- $method : string
- $payload : mixed
Tags
create()
public
static create([EnvironmentInterface|null $env = null ]) : RPCConnectionInterface
Parameters
- $env : EnvironmentInterface|null = null