mxmbsocket/lib/Ratchet/Protocol/WebSocket/AppInterface.php
2011-10-28 15:15:23 -04:00

14 lines
376 B
PHP

<?php
namespace Ratchet\Protocol\WebSocket;
use Ratchet\ReceiverInterface;
/**
* @todo App interfaces this (optionally) if is meant for WebSocket
* @todo WebSocket checks if instanceof AppInterface, if so uses getSubProtocol() when doing handshake
*/
interface AppInterface extends ReceiverInterface {
/**
* @return string
*/
function getSubProtocol();
}