Skip to content

Commit 437d0e3

Browse files
ryansobolMyles Borins
authored and
Myles Borins
committed
doc: mention that http.Server inherits from net.Server
PR-URL: #4455 Reviewed-By: Brian White <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent a256790 commit 437d0e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/http.markdown

+2-1
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)