Skip to content

Instantly share code, notes, and snippets.

@heapwolf
Created August 6, 2012 16:13
Show Gist options
  • Save heapwolf/3276010 to your computer and use it in GitHub Desktop.
Save heapwolf/3276010 to your computer and use it in GitHub Desktop.
emitter/sample
var req = http.request(options);
req.on('response', function(response) {
console.log(response);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment