(PECL swoole >= 1.9.0)
Swoole\Http\Client::on — Register callback function by event name.
$event_name
$callback
event_name
callback