Please sign in to comment.
doc: clarify ServerResponse explanations
In short: `ServerResponse` acutally inherits from `OutgoingMessage`, with a series of methods like those in `Stream.Writable`. So we cannot use `implements`(this has made poeple feel puzzled because there are still many methods we don't need or have), so `inherits from Stream` is enough, due to some core reasons and performance told by mcollina from the ref (See some latest discussions at Ref). Ref: #14146. PR-URL: #22305 Reviewed-By: Matteo Collina <email@example.com> Reviewed-By: Trivikram Kamat <firstname.lastname@example.org> Reviewed-By: Vse Mozhet Byt <email@example.com> Reviewed-By: Jon Moss <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com>
- Loading branch information...
Showing with 6 additions and 10 deletions.