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: #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 committed Apr 14, 2022
1 parent f076c36 commit e61b62b
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 @@ -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.
Expand Down

0 comments on commit e61b62b

Please sign in to comment.