API docs and cleanup
This commit is contained in:
parent
6fbd8cae93
commit
cb163a7576
@ -21,6 +21,10 @@ class RFC6455 implements VersionInterface {
|
|||||||
*/
|
*/
|
||||||
protected $_verifier;
|
protected $_verifier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A lookup of the valid close codes that can be sent in a frame
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
private $closeCodes = array();
|
private $closeCodes = array();
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
|
@ -54,8 +54,6 @@ class WsServer implements MessageComponentInterface {
|
|||||||
* @param Ratchet\MessageComponentInterface Your application to run with WebSockets
|
* @param Ratchet\MessageComponentInterface Your application to run with WebSockets
|
||||||
*/
|
*/
|
||||||
public function __construct(MessageComponentInterface $component) {
|
public function __construct(MessageComponentInterface $component) {
|
||||||
//mb_internal_encoding('UTF-8');
|
|
||||||
|
|
||||||
$this->reqParser = new HttpRequestParser;
|
$this->reqParser = new HttpRequestParser;
|
||||||
$this->versioner = new VersionManager;
|
$this->versioner = new VersionManager;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user