npm.io
1.0.0 • Published 12 years ago

recon-ws

Licence
ISC
Version
1.0.0
Deps
1
Vulns
0
Weekly
0

recon-ws

Auto reconnecting websocket client.

Install

npm install recon-ws

Usage

var ReconWs = require('recon-ws')
var ws = new ReconWs('wss://localhost')
ws.on('message', function(msg) {
	console.log('<-- %s', msg)  
})
ws.send('Hello world!')

Author

Andreas Brekken <a@abrkn.com>

Tips

Like this? Send bitcoins to 1abrknajSFpnz7MHjLkVnuvCbwd96wSYt

1abrknajSFpnz7MHjLkVnuvCbwd96wSYt

License

ISC

Keywords