%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/www_bck/varak.net_bck/ampache.varak.net/modules/Ratchet/WebSocket/Version/
Upload File :
Create Path :
Current File : //data/www_bck/varak.net_bck/ampache.varak.net/modules/Ratchet/WebSocket/Version/HyBi10.php

<?php
namespace Ratchet\WebSocket\Version;
use Guzzle\Http\Message\RequestInterface;

class HyBi10 extends RFC6455 {
    public function isProtocol(RequestInterface $request) {
        $version = (int)(string)$request->getHeader('Sec-WebSocket-Version');

        return ($version >= 6 && $version < 13);
    }

    public function getVersionNumber() {
        return 6;
    }
}

Zerion Mini Shell 1.0