Swoole\Client::on

(PECL swoole >= 1.9.0)

Swoole\Client::onAdd callback functions triggered by events.

Descripción

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

Parámetros

event

callback

To Top