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:
Chris Boden 2012-07-09 06:13:25 -07:00
commit 13919b9209

View File

@ -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');