Removed @todo's
Removed a bunch of @todo's
This commit is contained in:
parent
d4cf6c489a
commit
e0fe5792a1
@ -2,9 +2,6 @@
|
||||
namespace Ratchet\Component\WebSocket\Version;
|
||||
use Guzzle\Http\Message\RequestInterface;
|
||||
|
||||
/**
|
||||
* @todo Note: Even though this is the "legacy" HyBi version, it's using the RFC Message and Frame classes - change if needed
|
||||
*/
|
||||
class HyBi10 extends RFC6455 {
|
||||
public static function isProtocol(RequestInterface $request) {
|
||||
$version = (int)$request->getHeader('Sec-WebSocket-Version', -1);
|
||||
|
@ -18,9 +18,6 @@ class RFC6455 implements VersionInterface {
|
||||
$this->_verifier = new HandshakeVerifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo Change the request to be a Guzzle RequestInterface
|
||||
*/
|
||||
public static function isProtocol(RequestInterface $request) {
|
||||
$version = (int)$request->getHeader('Sec-WebSocket-Version', -1);
|
||||
return (13 === $version);
|
||||
|
@ -2,11 +2,6 @@
|
||||
namespace Ratchet\Component\WebSocket;
|
||||
use Ratchet\Component\MessageComponentInterface;
|
||||
|
||||
/**
|
||||
* @todo App interfaces this (optionally) if is meant for WebSocket
|
||||
* @todo WebSocket checks if instanceof AppInterface, if so uses getSubProtocol() when doing handshake
|
||||
* @todo Pick a better name for this...
|
||||
*/
|
||||
interface WebSocketComponentInterface extends MessageComponentInterface {
|
||||
/**
|
||||
* Currently instead of this, I'm setting header in the Connection object passed around...not sure which I like more
|
||||
|
@ -6,7 +6,6 @@ use Ratchet\Component\ProtocolInterface;
|
||||
* A wrapper for the PHP socket_ functions
|
||||
* @author Chris Boden <shout at chrisboden dot ca>
|
||||
* @link http://ca2.php.net/manual/en/book.sockets.php
|
||||
* @todo Possibly move this into Ratchet\Resource - another concrete could use streams
|
||||
*/
|
||||
class Socket implements SocketInterface {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user