Method WebSocketClient():disconnect() Professional
Disconnect from a websocket server
Syntax
:disconnect() --> self
Return
This method returns the object executing the method.
Description
The method :disconnect() disconnects from the server. After the client is disconnected from the server the method :onDisconnect() is executed.
Feedback
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.