You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,9 +216,9 @@ wsClient.close()
216
216
### WebsocketClient Methods
217
217
The ```WebsocketClient``` subscribes in a separate thread upon initialization. There are three methods which you could overwrite (before initialization) so it can react to the data streaming in. The current client is a template used for illustration purposes only.
218
218
219
-
-open - called once, *immediately before* the socket connection is made
220
-
-message - called once for every message that arrives and accepts one argument that contains the message of dict type.
221
-
-closed - called once after the websocket has been closed.
219
+
-onOpen - called once, *immediately before* the socket connection is made
220
+
-onMessage - called once for every message that arrives and accepts one argument that contains the message of dict type.
221
+
-onClose - called once after the websocket has been closed.
222
222
- close - call this method to close the websocket connection (do not overwrite).
0 commit comments