Swoole\Server\Port::on

Register callback functions by event.

説明

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

パラメータ

event_name

callback

戻り値