updated socket connection event name based on react-php/react commit 70bc398270c8dc8f2cb8e7b9fbf2dbbf96599fd2

This commit is contained in:
thrashr888 2012-07-09 03:09:54 -07:00
parent a1550994a1
commit f529d36305

View File

@ -41,7 +41,7 @@ class IoServer {
$this->loop = $loop; $this->loop = $loop;
$this->app = $app; $this->app = $app;
$socket->on('connect', array($this, 'handleConnect')); $socket->on('connection', array($this, 'handleConnect'));
$this->handlers['data'] = array($this, 'handleData'); $this->handlers['data'] = array($this, 'handleData');
$this->handlers['end'] = array($this, 'handleEnd'); $this->handlers['end'] = array($this, 'handleEnd');