python-websocketd
Python module for creating a http server which uses WebSockets.

◆ opened()

def websocketd.Websocket.opened (   self)

This function does nothing by default, but can be overridden by the application.

It is called when a new websocket is opened. As this happens from the constructor, it is useless to override it in a Websocket object; it must be overridden in the class.

Returns
None.

Definition at line 419 of file websocketd.py.