You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Andrew de Andrade (JIRA)" <ji...@apache.org> on 2015/02/04 09:21:34 UTC
[jira] [Created] (THRIFT-2976) nodejs: xhr and websocket support
for browserify
Andrew de Andrade created THRIFT-2976:
-----------------------------------------
Summary: nodejs: xhr and websocket support for browserify
Key: THRIFT-2976
URL: https://issues.apache.org/jira/browse/THRIFT-2976
Project: Thrift
Issue Type: Improvement
Components: Node.js - Library
Environment: Trusty64 Vagrant box
Reporter: Andrew de Andrade
Attachments: 0001-nodejs-xhr-and-websocket-browser-support.patch
The attached patch adds support for XHR connections and WebSocket connections in the browser. Currently there are only tests for XHR since phantomjs 1.x.x does not fully support the websockets protocol. Once phantom 2.x.x is released a test for websockets will be added.
To make browser tests work, all tests were converted to substack/tape (which is a TAP testing harness that works both on the server and in the browser). This has the side effect of making the tests way more readable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)