diff --git a/README.md b/README.md index a88ef423e..f8152c552 100644 --- a/README.md +++ b/README.md @@ -100,10 +100,14 @@ Socket.IO is compatible with [browserify](http://browserify.org/). - `reconnect`. Fired upon a successful reconnection. Parameters: - `Number` reconnection attempt number + - `reconnect_attempt`. Fired upon an attempt to reconnect. + - `reconnecting`. Fired upon an attempt to reconnect. + Parameters: + - `Number` reconnection attempt number - `reconnect_error`. Fired upon a reconnection attempt error. Parameters: - `Object` error object - - `reconnect_failed` + - `reconnect_failed`. Fired when couldn't reconnect within `reconnectionAttempts` The events above are also emitted on the individual sockets that reconnect that depend on this `Manager`. @@ -142,6 +146,17 @@ reconnect that depend on this `Manager`. Parameters: - `Object` error data - `disconnect`. Fired upon a disconnection. + - `reconnect`. Fired upon a successful reconnection. + Parameters: + - `Number` reconnection attempt number + - `reconnect_attempt`. Fired upon an attempt to reconnect. + - `reconnecting`. Fired upon an attempt to reconnect. + Parameters: + - `Number` reconnection attempt number + - `reconnect_error`. Fired upon a reconnection attempt error. + Parameters: + - `Object` error object + - `reconnect_failed`. Fired when couldn't reconnect within `reconnectionAttempts` ## License