Reconnect code for engine.io-client
npm install eio-reconnect
Reconnect wrapper for engine.io-client - inspired by https://github.com/cayasso/engine.io-reconnect
``sh`
npm install eio-reconnect
`coffee
client = require 'engine.io-client'
reconnect = require 'eio-reconnect'
eio.on 'reconnect', (attempts) -> console.log 'Reconnected after %d attempts', attempts
eio.on 'reconnecting', (attempts) -> console.log 'Reconnect attempt %d', attempts
eio.on 'reconnect_timeout', (time) -> console.log 'Timeout after %dms', time
eio.on 'reconnect_error', (error) -> console.log 'Error while reconnecting', error
`
`sh`
grunt test
1. Create your feature branch (git checkout -b my-new-feature)git commit -am 'Added some feature'
2. Commit your changes ()git push origin my-new-feature`)
3. Push to the branch (
4. Create new Pull Requests