(self, websocket, frequency=2.0)
Runs at a periodic interval specified by
        `frequency` by sending an unsolicitated pong
        message to the connected peer.

        If the message fails to be sent and a socket
        error is raised, we close the websocket
        socket automatically, triggering the `closed`
        handler.
Runs at a periodic interval specified by
        `frequency` by sending an unsolicitated pong
        message to the connected peer.
Runs at a periodic interval specified by frequency by sending an unsolicitated pong message to the connected peer .
def __init__(self, websocket, frequency=2.0):
        """
        Runs at a periodic interval specified by
        `frequency` by sending an unsolicitated pong
        message to the connected peer.

        If the message fails to be sent and a socket
        error is raised, we close the websocket
        socket automatically, triggering the `closed`
        handler.
        """
        threading.Thread.__init__(self)
        self.websocket = websocket
        self.frequency = frequency
def __init__ ( self , websocket , frequency = 2.0 ) : threading . Thread . __init__ ( self ) self . websocket = websocket self . frequency = frequency