Skip to content

Commit

Permalink
doc: mention that http.Server inherits from net.Server
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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]>
  • Loading branch information
ryansobol authored and Myles Borins committed Feb 11, 2016
1 parent 9ebf495 commit 0eefe24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -1104,6 +1104,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
Expand Down

0 comments on commit 0eefe24

Please sign in to comment.