index.js
function destroy() {
    if (!this.socket) return false;

    this.emit('destroy');

    this.socket.abort();
    this.removeAllListeners();

    this.headers = {};
    this.socket = null;
    this.body = null;

    delete Requests.active[this.id];

    return true;
  }
function destroy() {
    if (!this.socket) return false;

    this.emit('destroy');

    this.socket.abort();
    this.removeAllListeners();

    this.headers = {};
    this.socket = null;
    this.body = null;

    delete Requests.active[this.id];

    return true;
  }
function destroy ( ) { if ( ! this . socket ) return false ; this . emit ( 'destroy' ) ; this . socket . abort ( ) ; this . removeAllListeners ( ) ; this . headers = { } ; this . socket = null ; this . body = null ; delete Requests . active [ this . id ] ; return true ; }
Completely destroy the running XHR and release of the internal references.

@returns {Boolean} Successful destruction
@api public
Completely destroy the running XHR and release of the internal references .