
Updated how Ratchet handles WebSocket sub-protocols Broke out WsServerInterface to not extend MessageInterface; Components will instead use Interface segregation principle WAMP is now able to work without the developer having to manually enable the WAMP sub-protocol
11 lines
364 B
PHP
11 lines
364 B
PHP
<?php
|
|
namespace Ratchet\WebSocket;
|
|
|
|
interface WsServerInterface {
|
|
/**
|
|
* If any component in a stack supports a WebSocket sub-protocol return each supported in an array
|
|
* @return array
|
|
* @temporary This method may be removed in future version (note tha twill not break code, just make some code obsolete)
|
|
*/
|
|
function getSubProtocols();
|
|
} |