Closed rauchg closed 12 years ago
Indeed!
However it renders the parser tests useless, so I removed them. Then again, the ws parser is tested in the ws module itself...
Yep that's good. websocket.io is an interface, so we should test the interface.
(btw, I took most of the code from @einaros' socket.io fork)
That's exactly why I added the handleUpgrade() method in WebSocketServer back in january. :)
Do you mean something like this?
https://github.com/nicokaiser/websocket.io/commit/3ebc2c8280be69137fdcfa5fa1c7e4ad480f3766
(see https://github.com/nicokaiser/websocket.io/tree/wsparsers )