mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: indicate that Http2ServerResponse extends Stream
Also removes the redundant statement explained by "extends Stream". PR-URL: https://github.com/nodejs/node/pull/29254 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
1 parent
e939a8747f
commit
b2f169e628
1 file changed
+2
-4
+2
-4
@@ -2951,12 +2951,11 @@ Url {
|
||||
added: v8.4.0
|
||||
-->
|
||||
|
||||
* Extends: {Stream}
|
||||
|
||||
This object is created internally by an HTTP server — not by the user. It is
|
||||
passed as the second parameter to the [`'request'`][] event.
|
||||
|
||||
The response inherits from [Stream][], and additionally implements the
|
||||
following:
|
||||
|
||||
#### Event: 'close'
|
||||
<!-- YAML
|
||||
added: v8.4.0
|
||||
@@ -3481,7 +3480,6 @@ following additional properties:
|
||||
[RFC 8336]: https://tools.ietf.org/html/rfc8336
|
||||
[RFC 8441]: https://tools.ietf.org/html/rfc8441
|
||||
[Readable Stream]: stream.html#stream_class_stream_readable
|
||||
[Stream]: stream.html#stream_stream
|
||||
[Using `options.selectPadding()`]: #http2_using_options_selectpadding
|
||||
[`'checkContinue'`]: #http2_event_checkcontinue
|
||||
[`'connect'`]: #http2_event_connect
|
||||
|
||||
Reference in new issue
Block a user