API docs and cleanup

This commit is contained in:
Chris Boden 2012-07-11 15:43:54 -04:00
parent 6fbd8cae93
commit cb163a7576
2 changed files with 4 additions and 2 deletions

View File

@ -21,6 +21,10 @@ class RFC6455 implements VersionInterface {
*/
protected $_verifier;
/**
* A lookup of the valid close codes that can be sent in a frame
* @var array
*/
private $closeCodes = array();
public function __construct() {

View File

@ -54,8 +54,6 @@ class WsServer implements MessageComponentInterface {
* @param Ratchet\MessageComponentInterface Your application to run with WebSockets
*/
public function __construct(MessageComponentInterface $component) {
//mb_internal_encoding('UTF-8');
$this->reqParser = new HttpRequestParser;
$this->versioner = new VersionManager;