Added support of setting onWebSocketConnect, onWebSocketClose, onWebSocketPing, onWebSocketPong events via worker instance for Websocket protocol, like: $worker = new Worker("websocket://0.0.0.0:443"); $worker->onWebSocketConnect = function($conn, $buffer) { ...
Added support of setting onWebSocketConnect, onWebSocketClose, onWebSocketPing, onWebSocketPong events via worker instance for Websocket protocol, like:
$worker = new Worker("websocket://0.0.0.0:443");
$worker->onWebSocketConnect = function($conn, $buffer) { ...

eaglewu/Workerman,forkeer/Workerman,walkor/Workerman