Skip to content

Commit 97117d0

Browse files
committed
doc: mention that http.Server inherits from net.Server
1 parent fd551c3 commit 97117d0

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
@@ -395,7 +395,7 @@ Returns `request`.
395395

396396
## Class: http.Server
397397

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

400400
### Event: 'checkContinue'
401401

@@ -1096,6 +1096,7 @@ There are a few special headers that should be noted.
10961096
[`http.Server`]: #http_class_http_server
10971097
[`http.ServerResponse`]: #http_class_http_serverresponse
10981098
[`message.headers`]: #http_message_headers
1099+
[`net.Server`]: net.html#net_class_net_server
10991100
[`net.Server.close()`]: net.html#net_server_close_callback
11001101
[`net.Server.listen()`]: net.html#net_server_listen_handle_callback
11011102
[`net.Server.listen(path)`]: net.html#net_server_listen_path_callback

0 commit comments

Comments
 (0)