Swoole\WebSocket\Server::on

Register event callback function

説明

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

Register event callback function

パラメータ

event_name

callback

戻り値