Swoole\Client::on

Add callback functions triggered by events.

説明

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

パラメータ

event

callback