sockjs / Sockjs Client Node
Licence: mit
SockJS client for Node
Stars: ✭ 37
Programming Languages
javascript
184084 projects - #8 most used programming language
DEPRECATED
The sockjs-client project now supports running in node, and supports more transports than this project does. I strongly encourage you to use that instead.
SockJS Client Node
Node client for SockJS. Currently, only the XHR Streaming transport is supported.
Usage
var sjsc = require('sockjs-client');
var client = sjsc.create("http://localhost/sjsServer");
client.on('connection', function () { // connection is established });
client.on('data', function (msg) { // received some data });
client.on('error', function (e) { // something went wrong });
client.write("Have some text you mighty SockJS server!");
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].