PHP - Manual: Swoole\Client::on
2024-12-22
(PECL swoole >= 1.9.0)
Swoole\Client::on — Add callback functions triggered by events.
$event
$callback
event
callback
官方地址:https://www.php.net/manual/en/swoole-client.on.php