Yar_Concurrent_Client::callRegister a concurrent call Description
public static int Yar_Concurrent_Client::call(
string $uri ,string $method ,array $parameters = ?,callable $callback = ?,callable $error_callback = ?,array $options = ?) Register a RPC call, but won't sent it immediately, it will be send while further call to Yar_Concurrent_Client::loop Parameters
Return ValuesAn unique id, can be used to identified which call it is. ExamplesExample #1 Yar_Concurrent_Client::call example
The above example will output something similar to: See Also
|