Merge pull request #38 from thrashr888/master
Update server socket connection event name to "connection" from "connect" since React was changed.
This commit is contained in:
commit
13919b9209
@ -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