Added Missing Events

Added Missing Events
pull/15/head
Metin Seylan 8 years ago committed by GitHub
parent 7f5fac27d0
commit 77a06779dc

@ -22,7 +22,7 @@ export default class{
let _this = this;
["connect", "error", "disconnect", "reconnect", "reconnect_attempt", "reconnecting", "reconnect_error", "reconnect_failed"]
["connect", "error", "disconnect", "reconnect", "reconnect_attempt", "reconnecting", "reconnect_error", "reconnect_failed", "connect_error", "connect_timeout", "connecting", "reconnect_attempt", "ping", "pong"]
.forEach((value) => {
_this.Socket.on(value, (data) => {
Emitter.emit(value, data)
@ -30,4 +30,4 @@ export default class{
})
}
}
}

Loading…
Cancel
Save