Swoole\Server::on

Register a callback function by event name.

説明

public void Swoole\Server::on(string $event_name, callable $callback)

パラメータ

event_name

callback

戻り値