mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: mention that http.Server inherits from net.Server
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
c745b4d5f8
commit
eee50821dc
1 file changed
+2
-1
@@ -398,7 +398,7 @@ Returns `request`.
|
||||
|
||||
## Class: http.Server
|
||||
|
||||
This is an [`EventEmitter`][] with the following events:
|
||||
This class inherits from [`net.Server`][] and has the following additional events:
|
||||
|
||||
### Event: 'checkContinue'
|
||||
|
||||
@@ -1099,6 +1099,7 @@ There are a few special headers that should be noted.
|
||||
[`http.Server`]: #http_class_http_server
|
||||
[`http.ServerResponse`]: #http_class_http_serverresponse
|
||||
[`message.headers`]: #http_message_headers
|
||||
[`net.Server`]: net.html#net_class_net_server
|
||||
[`net.Server.close()`]: net.html#net_server_close_callback
|
||||
[`net.Server.listen()`]: net.html#net_server_listen_handle_callback
|
||||
[`net.Server.listen(path)`]: net.html#net_server_listen_path_callback
|
||||
|
||||
Reference in new issue
Block a user