apache/thrift — pull request #265 by cvlchinet (2014-11-13 21:34:10+00:00)
Title: node.js WebSocket client

I needed a WebSocket client for node.js and implemented it.
I am sharing my code with the community:

This PR adds a WebSocket client to the node.js library.
It is a combination of http_connection.js and the WebSocket implementation from js.
Adds dependency to https://github.com/einaros/ws
Includes integration tests.

It only works with TJSONProtocol and TBufferedTransport because sending raw binary data on a WebSocket currently causes an UTF8 error.
Maybe it is possible to fix?