Skip to content

http.ClientRequest poor documentation #2461

@magicdawn

Description

@magicdawn

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

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions