Swoole\Client::on

Add callback functions triggered by events.

Description

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

Parameters

event

callback