Document return value of http.server.listenΒ #4571
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.
Description
As noted in expressjs/expressjs.com#539, docs don't specify the return value of http.server.listen but it does appear return an http.Server object.
I'd add a PR, but I'm not sure if the return value is the same for all flavors (i.e. signatures) of the function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.
Activity
doc: document http's server.listen return value
doc: document http's server.listen return value
doc: document http's server.listen return value
doc: document http's server.listen return value
doc: document http's server.listen return value
doc: document http's server.listen return value
doc: document http's server.listen return value
doc: document http's server.listen return value