Swoole\Http\Client::on

Register callback function by event name.

Description

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

Parameters

event_name

callback

Return Values