Interface WebSocketProtocolIfc

  • All Known Implementing Classes:
    WebSocketHixie76, WebSocketHybi

    public interface WebSocketProtocolIfc
    Interface which needs to be implemented by any implemention of version of WebSocket protocol.
    Currently we have stable version but there were older not compatible with current so it may be that new will come in future - also not compatible.
    Author:
    andrzej
    • Field Detail

      • WS_VERSION_KEY

        static final String WS_VERSION_KEY
        HTTP header used by WebSocket to pass used version of WebSocket protocol from client to server
        See Also:
        Constant Field Values
      • WS_PROTOCOL_KEY

        static final String WS_PROTOCOL_KEY
        HTTP header which contains name of subprotocol which should be used over established WebSocket connection
        See Also:
        Constant Field Values