But im not too familiar with this api and its requiring something deep
in /support/ which looks to be a module that isn't on npm anymore.
If I were to use this module, anyone know what I should be doing with
the constructor here:
new WebSocket('ws://localhost:' + server._port + '/socket.io/ websocket' + sessid, 'borf');
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Socket.IO
Cool. Just took a look a socket.io-node-client -- looks to be exactly
what I was after. I assume this isn't compatible with pre 0.7 api? In
that case, I'll get this minimal hack on top of WebSocket() working
Josh
On May 19, 4:36 pm, Guillermo Rauch <rau...@gmail.com> wrote:
> Haha borf is the default in @pgriess' example that I copy-pasted. There's a new test-case in the develop branch:https://github.com/LearnBoost/Socket.IO-node/tree/develop/test >
> The next step is to add the `acceptance` tests which would be using socket.io-node-client (still needs a few updates).
> --
>
>
>
>
>
>
>
> On Thursday, May 19, 2011 at 4:34 PM, Josh wrote:
> > What do folks use to simulate a socket.io *client* for testing server
> > side (node.js) code?
>
> > I was taking a look at the (possibly somewhat old) test code here: