0.1.0 • Published 8 years ago

websocket-rails-node v0.1.0

Weekly downloads
55
License
MIT
Repository
github
Last release
8 years ago

Websocket-Rails-Node

wercker status

Unofficial JavaSript implemention of the Websocket-Rails JavaScript client.

WARNING: use at your own risk!

Code is based from official 0.7.0 release. All scripts are ported into ES6. Tests are not optimized and is (almost) kept as it is in the official release.

Getting Started

npm i webpack-rails-node -S

Usage

Usage should be same as the official release of 0.7.0. see offiial doc for detail.

var WebSocketRails = require('websocket-rails-node');
var dispatcher = new WebSocketRails('localhost:3000/websocket');

dispatcher.bind('client_connected', data => {
  console.log('client connected', data);
});
0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago