docs: add EVENT_CONNECT_TIMEOUT in the migration guide

This commit is contained in:
Damien Arrachequesne
2020-12-21 10:37:49 +01:00
parent 651404136f
commit 275cd1b7ee

View File

@@ -106,21 +106,21 @@ Here is the updated list of events emitted by the Manager:
| Name | Description | Previously (if different) | | Name | Description | Previously (if different) |
| ---- | ----------- | ------------------------- | | ---- | ----------- | ------------------------- |
| open | successful (re)connection | - | | `Manager.EVENT_OPEN` | successful (re)connection | - |
| error | (re)connection failure or error after a successful connection | connect_error | | `Manager.EVENT_ERROR` | (re)connection failure or error after a successful connection | `Manager.EVENT_CONNECT_ERROR` & `Manager.EVENT_CONNECT_TIMEOUT` |
| close | disconnection | - | | `Manager.EVENT_CLOSE` | disconnection | - |
| reconnect_attempt | reconnection attempt | reconnect_attempt & reconnecting | - | | `Manager.EVENT_RECONNECT_ATTEMPT` | reconnection attempt | `Manager.EVENT_RECONNECT_ATTEMPT` & `Manager.EVENT_RECONNECTING` (duplicate) |
| reconnect | successful reconnection | - | | `Manager.EVENT_RECONNECT` | successful reconnection | - |
| reconnect_error | reconnection failure | - | | `Manager.EVENT_RECONNECT_ERROR` | reconnection failure | - |
| reconnect_failed | reconnection failure after all attempts | - | | `Manager.EVENT_RECONNECT_FAILED` | reconnection failure after all attempts | - |
Here is the updated list of events emitted by the Socket: Here is the updated list of events emitted by the Socket:
| Name | Description | Previously (if different) | | Name | Description | Previously (if different) |
| ---- | ----------- | ------------------------- | | ---- | ----------- | ------------------------- |
| connect | successful connection to a Namespace | - | | `Socket.EVENT_CONNECT` | successful connection to a Namespace | - |
| connect_error | connection failure | error | | `Socket.EVENT_CONNECT_ERROR` | connection failure | `Socket.EVENT_ERROR` |
| disconnect | disconnection | - | | `Socket.EVENT_DISCONNECT` | disconnection | - |
And finally, here's the updated list of reserved events that you cannot use in your application: And finally, here's the updated list of reserved events that you cannot use in your application: