Method WebSocketHandler():onDisconnect() Professional

Disconnection handler

Syntax
:onDisconnect() --> self
Return

This method returns the object executing the method.

Description

The method :onDisconnect() is called when a client gets disconnected. The class WebSocketHandler() declares this method as DEFERRED. When subclassing from the class WebSocketHandler()the method :onDisconnect() must be implemented.

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.