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

doc: mention that http.Server inherits from net.Server #4455

Closed
wants to merge 1 commit into from

Conversation

ryansobol
Copy link
Contributor

As a Node beginner, it wasn't immediately obvious to me that http.Server inherits from net.Server until I read the source.

@r-52 r-52 added http Issues or PRs related to the http subsystem. doc Issues and PRs related to the documentations. labels Dec 28, 2015
@mscdex
Copy link
Contributor

mscdex commented Dec 28, 2015

Maybe we can just drop the "This is an EventEmitter" part since the docs for net.Server already say that. Perhaps it might read something like:

This class inherits from net.Server and has the following additional events:

@ryansobol
Copy link
Contributor Author

That's fine by me. I was just following the precedence set in a few other places.

The pull request has been updated.

@cjihrig
Copy link
Contributor

cjihrig commented Dec 29, 2015

LGTM. Can you update the commit message according to https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit.

@ryansobol
Copy link
Contributor Author

Done. And thanks for the link.

@ryansobol ryansobol changed the title Mention that http.Server inherits from net.Server doc: mention that http.Server inherits from net.Server Dec 29, 2015
@mscdex
Copy link
Contributor

mscdex commented Dec 29, 2015

LGTM

3 similar comments
@MylesBorins
Copy link
Contributor

LGTM

@Qard
Copy link
Member

Qard commented Dec 30, 2015

LGTM

@jasnell
Copy link
Member

jasnell commented Dec 30, 2015

LGTM

jasnell pushed a commit that referenced this pull request Dec 30, 2015
PR-URL: #4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell
Copy link
Member

jasnell commented Dec 30, 2015

Landed in 4e8a005

@jasnell jasnell closed this Dec 30, 2015
@ryansobol ryansobol deleted the http_server_doc branch December 31, 2015 19:06
@rvagg
Copy link
Member

rvagg commented Jan 4, 2016

Thanks for the contribution @ryansobol! I believe this is your first commit to core and I see a few other PRs from you as well, it's great to see you jumping right in. Please holler if you need any help landing your other work. I hope you continue to find ways to contribute and stick around.

Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
PR-URL: nodejs#4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jan 28, 2016
PR-URL: #4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 11, 2016
PR-URL: #4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Feb 11, 2016
PR-URL: nodejs#4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Feb 11, 2016
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Feb 15, 2016
PR-URL: nodejs#4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
PR-URL: nodejs#4455
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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 this pull request may close these issues.

8 participants