lib/Request.js
/**
   * Checks whether or not the Request has timedout.
   * @param {Response} response The received message.
   * @return {Boolean} True if the message has timedout, false otherwise.
   */
Checks whether or not the Request has timedout.
@param {Response} response The received message.
@return {Boolean} True if the message has timedout, false otherwise.
Checks whether or not the Request has timedout . @param { Response } response The received message . @return { Boolean } True if the message has timedout false otherwise .
hasTimedout(response) {
    if (!(response instanceof Response)) {
      throw new TypeError('Request#hasTimedout expected argument #0 (response) to be an instanceof Response.');
    }
    if (this.ttl !== 0 && this[request].timeout && this.ttl < (response.received - this.created)) return true;
    return false;
  }
hasTimedout ( response ) { if ( ! ( response instanceof Response ) ) { throw new TypeError ( 'Request#hasTimedout expected argument #0 (response) to be an instanceof Response.' ) ; } if ( this . ttl !== 0 && this [ request ] . timeout && this . ttl < ( response . received - this . created ) ) return true ; return false ; }
Checks whether or not the Request has timedout.
Checks whether or not the Request has timedout .