hybi in node-websocket-client/lib/websocket.js?

151 views
Skip to first unread message

Colin Moock

unread,
Nov 2, 2011, 4:58:27 PM11/2/11
to Socket.IO
i noticed that the WebSocket object implementation at:
https://github.com/LearnBoost/socket.io/blob/master/support/node-websocket-client/lib/websocket.js

uses the old hixie 75/76 protocol.

are there any plans to update it to hybi?

thanks,
colin

Arnout Kazemier

unread,
Nov 2, 2011, 5:06:06 PM11/2/11
to sock...@googlegroups.com
That is our WebSocket client that we use for testing.
Socket.IO supports hixie 75/76 and hybi 07-12 and 16+

Colin Moock

unread,
Nov 3, 2011, 12:08:04 PM11/3/11
to Socket.IO
either my last reply was lost or hasn't been moderated through yet, so
resending...
====

i know that socket.io supports hybi 07-12 and 16+.

i also know that node-websocket-client/lib/websocket.js is not the
socket.io server, nor the browser-based framework. i am specifically
looking for a node emulation of the browser's WebSocket object for use
in a non-browser node environment. like you (i'm guessing), i want to
use it for testing connections to a WebSocket server without running
hundreds of browsers.

so my question still stands: do you plan to add hybi support to node-
websocket-client/lib/websocket.js?

thanks,
colin

On Nov 2, 5:06 pm, Arnout Kazemier <i...@3rd-eden.com> wrote:
> That is our WebSocket client that we use for testing.
> Socket.IO supports hixie 75/76 and hybi 07-12 and 16+
>
> Seehttps://github.com/LearnBoost/socket.io/tree/master/lib/transports/we...
>
> On 2 nov. 2011, at 21:58, Colin Moock wrote:
>
>
>
>
>
>
>
> > i noticed that the WebSocket object implementation at:
> >https://github.com/LearnBoost/socket.io/blob/master/support/node-webs...

Colin Moock

unread,
Nov 7, 2011, 11:45:56 AM11/7/11
to Socket.IO
can anyone comment on this question?

colin

Colin Moock

unread,
Nov 2, 2011, 5:52:26 PM11/2/11
to Socket.IO
> That is our WebSocket client that we use for testing.
--
i realize that. i want to use it for testing too. i'm specifically
looking for a node.js emulation of the browser WebSocket object, for
use in creating clients that run in a node environment, not in a
browser. but i want to to my testing with hybi, not hixie. (i know the
socket.io server itself supports hybi).

so my question still stands:
are there any plans to update node-websocket-client/lib/websocket.js
to hybi?

thanks for the quick response!
colin
Reply all
Reply to author
Forward
0 new messages