From 806711346d54097f287de3058ea6a082b60b8bf9 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Thu, 14 Apr 2022 09:24:19 +0200 Subject: [PATCH] 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 Reviewed-By: Darshan Sen Reviewed-By: Matteo Collina Reviewed-By: Mestery Reviewed-By: Akhil Marsonya Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: James M Snell --- doc/api/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http.md b/doc/api/http.md index b591af50981..2cc2585ca1a 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -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.