Fix reconnect when using WS (#952)

* Fix reconnect when using WS

* Add disconnect status (fix reconnect with WS)
This commit is contained in:
bdistin
2016-12-05 15:06:49 -06:00
committed by Amish Shah
parent 977e29ceba
commit 8eff36b744
2 changed files with 2 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ exports.Status = {
RECONNECTING: 2,
IDLE: 3,
NEARLY: 4,
DISCONNECTED: 5,
};
exports.ChannelTypes = {