Method WebSocketClient():onConnect() Professional
:onConnect() --> self
This method returns the object executing the method.
The method :onConnect() is called when the websocket client was successfully connected to the server. The baseclass WebSocketClient implements a default behaviour of this method which is just to return.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.