Swoole\Client::on

(PECL swoole >= 1.9.0)

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

説明

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

パラメータ

event

callback

関連キーワード:  callback, Add, functions, events, Swoole, event, isConnected, pause, swoole, public