Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 437d0e3

Browse filesBrowse files
ryansobolMyles Borins
authored andcommitted
doc: mention that http.Server inherits from net.Server
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>
1 parent a256790 commit 437d0e3
Copy full SHA for 437d0e3

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/http.markdown‎

Copy file name to clipboardExpand all lines: doc/api/http.markdown
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Returns `request`.
398398

399399
## Class: http.Server
400400

401-
This is an [`EventEmitter`][] with the following events:
401+
This class inherits from [`net.Server`][] and has the following additional events:
402402

403403
### Event: 'checkContinue'
404404

@@ -1104,6 +1104,7 @@ There are a few special headers that should be noted.
11041104
[`http.Server`]: #http_class_http_server
11051105
[`http.ServerResponse`]: #http_class_http_serverresponse
11061106
[`message.headers`]: #http_message_headers
1107+
[`net.Server`]: net.html#net_class_net_server
11071108
[`net.Server.close()`]: net.html#net_server_close_callback
11081109
[`net.Server.listen()`]: net.html#net_server_listen_handle_callback
11091110
[`net.Server.listen(path)`]: net.html#net_server_listen_path_callback

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.