node-websocket-client
node-websocket-client copied to clipboard
Fix the lib for v0.5 and v0.6 of nodejs. It's also backward compatible with v0.4
Fix the lib for v0.5 and v0.6 of nodejs. It's also backward compatible with v0.4
hey alain,
thanks for the fix. I merged it with mine, and added try/catches,
would your fix still work if it's done that way?
checkout https://github.com/pgriess/node-websocket-client/pull/21/files
Thanks.
No.
Because in node v0.4.x http.request
exists, but you need to do http.createClient
to make it work.
(tested with node v0.4.12 and v0.6.1)