PHP 8.4.1 Released!

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

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top