[whatwg] [hybi] How to select which websocket protocol to use
t.broyer at ltgt.net
Wed Dec 23 00:53:59 PST 2009
On Tue, Dec 22, 2009 at 3:37 PM, Francis Brosnan Blazquez wrote:
> In the case someone wants to use BWTP, how is this signaled to the
IIUC, BWTP and Websocket are not really comparable, and the Websocket
API is only designed to work with the Websocket protocol (BWTP
supports metadata in every "message" for instance, which the Websocket
API wouldn't expose).
> Is this controlled by the "protocol" constructor argument?
This argument will populate the "subprotocol name" of the Websocket
handshake, it's not meant to switch to BWTP or other bidirectional
More information about the whatwg