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

◆ ping()

def websocketd.Websocket.ping (   self,
  data = b'' 
)

Send a ping, return if a pong was received since last ping.

Parameters
dataData to send with the ping.
Returns
True if a pong was received since last ping, False if not.

Definition at line 399 of file websocketd.py.

Here is the call graph for this function: