-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Comments
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
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
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.
The text was updated successfully, but these errors were encountered: