Created
January 31, 2013 23:14
-
-
Save arisolt/4687608 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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