for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPDaemon\SockJS\Methods;
use PHPDaemon\Core\Daemon;
use PHPDaemon\Core\Debug;
use PHPDaemon\Utils\Crypt;
/**
* @package Libraries
* @subpackage SockJS
* @author Vasily Zorin <[email protected]>
*/
class Websocket extends Generic {
protected $contentType = 'text/plain';
* Constructor
* @return void
public function init() {
$this->header('426 Upgrade Required');
$this->finish();
}
* Called when request iterated
public function run() {}