1: <?php
2: namespace Ratchet\WebSocket;
3:
4: /**
5: * WebSocket Server Interface
6: */
7: interface WsServerInterface {
8: /**
9: * If any component in a stack supports a WebSocket sub-protocol return each supported in an array
10: * @return array
11: * @todo This method may be removed in future version (note that will not break code, just make some code obsolete)
12: */
13: function getSubProtocols();
14: }
15: