Zend\Json\Server\Client::call
Send a JSON-RPC request to the service (for a specific method).
Signature
public function call(string
$method,
array
$params )
Parameters
$method
— string- Name of the method we want to call.
$params
— array- Array of parameters for the method.
Returns
- mixed
- Method call results.
Errors/Exceptions
-
ErrorException
- When remote call fails.