Skip to content

Commit eee5082

Browse files
ryansobolFishrock123
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 c745b4d commit eee5082

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/http.markdown

Lines changed: 2 additions & 1 deletion
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

@@ -1099,6 +1099,7 @@ There are a few special headers that should be noted.
10991099
[`http.Server`]: #http_class_http_server
11001100
[`http.ServerResponse`]: #http_class_http_serverresponse
11011101
[`message.headers`]: #http_message_headers
1102+
[`net.Server`]: net.html#net_class_net_server
11021103
[`net.Server.close()`]: net.html#net_server_close_callback
11031104
[`net.Server.listen()`]: net.html#net_server_listen_handle_callback
11041105
[`net.Server.listen(path)`]: net.html#net_server_listen_path_callback

0 commit comments

Comments
 (0)