Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
Affected URL(s)
https://nodejs.org/docs/latest/api/http.html#agentcreateconnectionoptions-callback
Description of the problem
In http agents, the createConnection function is a direct passthrough to net.connect, which the function signature does not take, nor call a callback.
In https agents, the createConnection function has a wildly different signature, but the https docs say "it's the same as the http" agent. But again, there is no callback for this function and none is called.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.