Skip to content

Instantly share code, notes, and snippets.

@arisolt
Created January 31, 2013 23:14
Show Gist options
  • Save arisolt/4687608 to your computer and use it in GitHub Desktop.
Save arisolt/4687608 to your computer and use it in GitHub Desktop.
var httprequest = require('request');
httprequest({
'pool.maxSockets': 1,
url: "http://127.0.0.1:9002"}, function (error, response, body) {
console.log('one');
}
);
httprequest({
url: "http://127.0.0.1:9002"}, function (error, response, body) {
console.log('two');
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment