-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
I'm using tj's superagent, and I want to inspect the actual url requesting
var request = require('superagent');
request
.get('<some url>')
.on('request',function(){
var req = this.req; // req instanceof http.ClientRequest
})
.end(function(err,res){
})
req instanceof http.ClientRequest, but I can hardly find any property reference in the documentation on http.ClientRequest class https://iojs.org/api/http.html#http_class_http_clientrequest
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.