btfxwss/connection.py
def send_ping(self):
        """Sends a ping message to the API and starts pong timers.

        :return:
        """
        self.log.debug("send_ping(): Sending ping to API..")
        self.socket.send(json.dumps({'event': 'ping'}))
        self.pong_timer = Timer(self.pong_timeout, self._check_pong)
        self.pong_timer.start()
def send_ping(self):
        self.log.debug("send_ping(): Sending ping to API..")
        self.socket.send(json.dumps({'event': 'ping'}))
        self.pong_timer = Timer(self.pong_timeout, self._check_pong)
        self.pong_timer.start()
def send_ping ( self ) : self . log . debug ( "send_ping(): Sending ping to API.." ) self . socket . send ( json . dumps ( { 'event' : 'ping' } ) ) self . pong_timer = Timer ( self . pong_timeout , self . _check_pong ) self . pong_timer . start ( )
Sends a ping message to the API and starts pong timers.

        :return:
Sends a ping message to the API and starts pong timers .