2.0.0 • Published 6 years ago
socker.js v2.0.0
socker.js - socker client
socker.js is the client for https://github.com/5monkeys/socker.
Example
var socker = new Socker('ws://sock.example:8765');
socker.on('hello', function (data) {
console.log('From server:', data);
});
socker.emit('hello', {foo: 'bar'});