Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document return value of http.server.listen #4571

Closed
crandmck opened this issue Jan 7, 2016 · 0 comments
Closed

Document return value of http.server.listen #4571

crandmck opened this issue Jan 7, 2016 · 0 comments
Labels
doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem.

Comments

@crandmck
Copy link

crandmck commented Jan 7, 2016

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.

@mscdex mscdex added http Issues or PRs related to the http subsystem. doc Issues and PRs related to the documentations. labels Jan 7, 2016
Sequoia added a commit to Sequoia/node that referenced this issue Jan 8, 2016
The server method returns `self` in order to
allow chaining.

closes nodejs#4571
MylesBorins pushed a commit that referenced this issue Jan 11, 2016
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this issue Jan 12, 2016
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this issue Jan 13, 2016
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this issue Jan 14, 2016
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this issue Jan 14, 2016
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this issue Jan 19, 2016
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
scovetta pushed a commit to scovetta/node that referenced this issue Apr 2, 2016
The server method returns `self` in order to allow chaining.

PR-URL: nodejs#4590
Fixes: nodejs#4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants