Swoole\Client::on

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

˵Ã÷

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

²ÎÊý

event

callback

User Contributed Notes

There are no user contributed notes for this page.