diff options
author | Luigi Pinca <luigipinca@gmail.com> | 2022-04-14 10:24:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 10:24:19 +0300 |
commit | e61b62b9d4a7a648496cc5d1539e1111bd2737e9 (patch) | |
tree | ccabf64b76b1a4e204601bc8eb6c2815762533e7 | |
parent | f076c3633556ff862f417c1c55bbe9f3185b6b95 (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>
-rw-r--r-- | doc/api/http.md | 2 |
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. |