PHP 8.1.0 RC 2 available for testing

Swoole\Client::on

(PECL swoole >= 1.9.0)

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

Descripción

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

Par√°metros

event

callback

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top