- From: Thomas Broyer <t.broyer@ltgt.net>
- Date: Wed, 23 Dec 2009 09:53:59 +0100
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 > Websocket (javascript) API? 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 protocols. -- Thomas Broyer /t?.ma.b?wa.je/
Received on Wednesday, 23 December 2009 00:53:59 UTC