Readme: update with disconnect and stopped event

This commit is contained in:
Jacob Plaster
2019-01-29 15:10:00 +00:00
parent 5a6c2bbbef
commit c35606098b

View File

@@ -102,6 +102,8 @@ The websocket exposes a collection of events that are triggered when certain dat
- `all` (array|json): listen for all messages coming through
- `connected:` () called when a connection is made
- `disconnected`: () called when a connection is ended (A reconnect attempt may follow)
- `stopped`: () called when max amount of connection retries is met and the socket is closed
- `authenticated` (): called when the websocket passes authentication
- `notification` (array): incoming account notification
- `error` (array): error from the websocket