Skip to content

Commit

Permalink
doc: improve doc for http.ServerResponse inheritance
Browse files Browse the repository at this point in the history
Document that `http.ServerResponse` inherits from
`http.OutgoingMessage`.

PR-URL: nodejs/node#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>
  • Loading branch information
lpinca authored and guangwong committed Oct 10, 2022
1 parent cd33704 commit 100f53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 100f53d

Please sign in to comment.