PHP - Manual: Swoole\Http\Client::on
2024-12-22
(PECL swoole >= 1.9.0)
Swoole\Http\Client::on — Register callback function by event name.
$event_name
$callback
event_name
callback
官方地址:https://www.php.net/manual/en/swoole-http-client.on.php