index.js
function fireRequest(urlStr, callback) {
  var start = Date.now();

  request({
    url: urlStr,
    method: 'GET',
    maxRedirects: 8,
    timeout: 10 * 1000
    //headers: { 'User-Agent': 'woobot/2.0' }
  }, function (error, response) {
    callback(error, response, Date.now() - start);
  });
}
function fireRequest(urlStr, callback) {
  var start = Date.now();

  request({
    url: urlStr,
    method: 'GET',
    maxRedirects: 8,
    timeout: 10 * 1000
    //headers: { 'User-Agent': 'woobot/2.0' }
  }, function (error, response) {
    callback(error, response, Date.now() - start);
  });
}
function fireRequest ( urlStr , callback ) { var start = Date . now ( ) ; request ( { url : urlStr , method : 'GET' , maxRedirects : 8 , timeout : 10 * 1000 //headers: { 'User-Agent': 'woobot/2.0' } } , function ( error , response ) { callback ( error , response , Date . now ( ) - start ) ; } ) ; }
Fire http request and callback when done.

@param  {String}   urlStr   The url.
@param  {Function} callback Callback with error, response and responstime.
Fire http request and callback when done .