From c35606098bc8eade9ca46b6760372e39eb88da87 Mon Sep 17 00:00:00 2001 From: Jacob Plaster Date: Tue, 29 Jan 2019 15:10:00 +0000 Subject: [PATCH] Readme: update with disconnect and stopped event --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 81788e2..8182dba 100644 --- a/README.md +++ b/README.md @@ -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