Shellbox
Library and server for containerized shell execution
|
An implementation of RPCClient that executes the provided commands locally. More...
Public Member Functions | |
call (string $routeName, $functionName, array $params=[], array $options=[]) | |
Call a PHP function remotely. | |
An implementation of RPCClient that executes the provided commands locally.
Shellbox\RPC\LocalRpcClient::call | ( | string | $routeName, |
$functionName, | |||
array | $params = [], | ||
array | $options = [] ) |
Call a PHP function remotely.
string | $routeName | A short string identifying the function |
array | string | $functionName | A JSON-serializable callback |
array | $params | Function parameters. If "binary" is false or absent, the parameters must be JSON-serializable, which means that any strings must be valid UTF-8. If "binary" is true, the parameters must all be strings. |
array | $options | An associative array of options:
|
ShellboxError |
Implements Shellbox\RPC\RpcClient.