handleHeartBeat() {
        if (!this.ws || this.ws.readyState === 2 || this.ws.readyState === 3) { return clearInterval(this.heartbeatInterval); }

        this.emit('debug', 'Sending heartbeat');

        this.ws.send(JSON.stringify({ op: OPCodes.HEARTBEAT, d: this.seq }));
        this.sendTime = new Date();
    }
/**
     * Handle heartbeating with the websocket
     *
     * @memberof Client
     * @returns {undefined}
     */
Handle heartbeating with the websocket
@memberof Client
@returns {undefined}
Handle heartbeating with the websocket @memberof Client @returns { undefined }
handleHeartBeat() {
        if (!this.ws || this.ws.readyState === 2 || this.ws.readyState === 3) { return clearInterval(this.heartbeatInterval); }
        this.emit('debug', 'Sending heartbeat');
        this.ws.send(JSON.stringify({ op: OPCodes.HEARTBEAT, d: this.seq }));
        this.sendTime = new Date();
    }
handleHeartBeat ( ) { if ( ! this . ws || this . ws . readyState === 2 || this . ws . readyState === 3 ) { return clearInterval ( this . heartbeatInterval ) ; } this . emit ( 'debug' , 'Sending heartbeat' ) ; this . ws . send ( JSON . stringify ( { op : OPCodes . HEARTBEAT , d : this . seq } ) ) ; this . sendTime = new Date ( ) ; }
Handle heartbeating with the websocket
 @memberof Client
 @returns {undefined}
Handle heartbeating with the websocket @memberof Client @returns { undefined }