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:
parent
f39ad8a91f
commit
824b3e2a55
@ -2938,12 +2938,11 @@ Url {
|
|||||||
added: v8.4.0
|
added: v8.4.0
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
* Extends: {Stream}
|
||||||
|
|
||||||
This object is created internally by an HTTP server — not by the user. It is
|
This object is created internally by an HTTP server — not by the user. It is
|
||||||
passed as the second parameter to the [`'request'`][] event.
|
passed as the second parameter to the [`'request'`][] event.
|
||||||
|
|
||||||
The response inherits from [Stream][], and additionally implements the
|
|
||||||
following:
|
|
||||||
|
|
||||||
#### Event: 'close'
|
#### Event: 'close'
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v8.4.0
|
added: v8.4.0
|
||||||
@ -3470,7 +3469,6 @@ following additional properties:
|
|||||||
[RFC 8336]: https://tools.ietf.org/html/rfc8336
|
[RFC 8336]: https://tools.ietf.org/html/rfc8336
|
||||||
[RFC 8441]: https://tools.ietf.org/html/rfc8441
|
[RFC 8441]: https://tools.ietf.org/html/rfc8441
|
||||||
[Readable Stream]: stream.html#stream_class_stream_readable
|
[Readable Stream]: stream.html#stream_class_stream_readable
|
||||||
[Stream]: stream.html#stream_stream
|
|
||||||
[`'checkContinue'`]: #http2_event_checkcontinue
|
[`'checkContinue'`]: #http2_event_checkcontinue
|
||||||
[`'connect'`]: #http2_event_connect
|
[`'connect'`]: #http2_event_connect
|
||||||
[`'request'`]: #http2_event_request
|
[`'request'`]: #http2_event_request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user