From 97117d06870050a13c0c002de04a26867584d658 Mon Sep 17 00:00:00 2001 From: Ryan Sobol Date: Mon, 28 Dec 2015 13:06:31 -0800 Subject: [PATCH] doc: mention that http.Server inherits from net.Server --- doc/api/http.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 6562a469a73bdb..6196b7bb9b2fd8 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -395,7 +395,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' @@ -1096,6 +1096,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