Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs get response time

request.get({
  url : 'http://example.com',
  time : true
},function(err, response){
  console.log('Request time in ms', response.elapsedTime);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nodejs #response #time
ADD COMMENT
Topic
Name
7+7 =