Swoole\Http\Client::on

Register callback function by event name.

説明

public void Swoole\Http\Client::on(string $event_name, callable $callback)

パラメータ

event_name

callback

戻り値