mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: clarifies http.serverResponse implementation
Since http.serverResponse does not inherit from Stream.writable it does not pass the test `serverResponse instanceof stream.Writable`. This commit clarifies that serverResponse does not inherit from stream.Writable and therefore should not be expected to pass the above test Fixes: https://github.com/nodejs/node/issues/6046 PR-URL: https://github.com/nodejs/node/pull/6072 Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
f1cd33c3af
commit
a45ab97ab6
1 file changed
+2
-2
+2
-2
@@ -638,8 +638,8 @@ connections.
|
||||
This object is created internally by a HTTP server--not by the user. It is
|
||||
passed as the second parameter to the `'request'` event.
|
||||
|
||||
The response implements the [Writable Stream][] interface. This is an
|
||||
[`EventEmitter`][] with the following events:
|
||||
The response implements, but does not inherit from, the [Writable Stream][]
|
||||
interface. This is an [`EventEmitter`][] with the following events:
|
||||
|
||||
### Event: 'close'
|
||||
|
||||
|
||||
Reference in new issue
Block a user