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>
This commit is contained in:
Luigi Pinca authored and Michaël Zasso committed 2022-07-31 09:43:46 +02:00
1 parent 3370ef9c85
commit 806711346d
1 file changed
+1 -1
+1 -1
View File
@@ -1497,7 +1497,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.