This commit is contained in:
Chris Boden 2013-03-31 11:44:10 -04:00
parent 51f46332ad
commit 7e58dccdb7
3 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,6 @@ class HttpRequestParser implements MessageInterface {
* @return boolean * @return boolean
*/ */
public function isEom($message) { public function isEom($message) {
//return (static::EOM === substr($message, 0 - strlen(static::EOM)));
return (boolean)strpos($message, static::EOM); return (boolean)strpos($message, static::EOM);
} }
} }

View File

@ -4,6 +4,7 @@ use Ratchet\AbstractConnectionDecorator;
/** /**
* {@inheritdoc} * {@inheritdoc}
* @property \StdClass $WebSocket
*/ */
class Connection extends AbstractConnectionDecorator { class Connection extends AbstractConnectionDecorator {
public function send($msg) { public function send($msg) {

View File

@ -5,6 +5,7 @@ use Ratchet\WebSocket\Version\DataInterface;
/** /**
* {@inheritdoc} * {@inheritdoc}
* @property \StdClass $WebSocket
*/ */
class Connection extends AbstractConnectionDecorator { class Connection extends AbstractConnectionDecorator {
public function send($msg) { public function send($msg) {