Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuigi Pinca <luigipinca@gmail.com>2022-04-14 10:24:19 +0300
committerGitHub <noreply@github.com>2022-04-14 10:24:19 +0300
commite61b62b9d4a7a648496cc5d1539e1111bd2737e9 (patch)
treeccabf64b76b1a4e204601bc8eb6c2815762533e7 /doc
parentf076c3633556ff862f417c1c55bbe9f3185b6b95 (diff)
doc: improve doc for http.ServerResponse inheritance
Document that `http.ServerResponse` inherits from `http.OutgoingMessage`. PR-URL: https://github.com/nodejs/node/pull/42693 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 851679dfc31..3bb33687361 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1507,7 +1507,7 @@ affects new connections to the server, not any existing connections.
added: v0.1.17
-->
-* Extends: {Stream}
+* Extends: {http.OutgoingMessage}
This object is created internally by an HTTP server, not by the user. It is
passed as the second parameter to the [`'request'`][] event.