updated socket connection event name based on react-php/react commit 70bc398270c8dc8f2cb8e7b9fbf2dbbf96599fd2
This commit is contained in:
parent
a1550994a1
commit
f529d36305
@ -41,7 +41,7 @@ class IoServer {
|
||||
$this->loop = $loop;
|
||||
$this->app = $app;
|
||||
|
||||
$socket->on('connect', array($this, 'handleConnect'));
|
||||
$socket->on('connection', array($this, 'handleConnect'));
|
||||
|
||||
$this->handlers['data'] = array($this, 'handleData');
|
||||
$this->handlers['end'] = array($this, 'handleEnd');
|
||||
|
Loading…
Reference in New Issue
Block a user