
Removed the `Component` namespace Removed the `Resource` namespace Renamed components: `IOServerComponent` => `IoServer` `WebSocketComponent` => `WsServer` `SessionComponent` => `SessionProvider` `WAMPServerComponent` => `WampServer` `IpBlackListComponent` => `IpBlackList` `FlashPolicyComponent` => `FlashPolicy`
16 lines
405 B
PHP
16 lines
405 B
PHP
<?php
|
|
namespace Ratchet\WebSocket;
|
|
use Ratchet\MessageComponentInterface;
|
|
|
|
interface WsServerInterface extends MessageComponentInterface {
|
|
/**
|
|
* Currently instead of this, I'm setting header in the Connection object passed around...not sure which I like more
|
|
* @param string
|
|
*/
|
|
//function setHeaders($headers);
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
function getSubProtocol();
|
|
} |