Skip to content

Commit b2f169e

Browse files
trivikrBridgeAR
authored andcommitted
doc: indicate that Http2ServerResponse extends Stream
Also removes the redundant statement explained by "extends Stream". PR-URL: #29254 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
1 parent e939a87 commit b2f169e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/http2.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -2951,12 +2951,11 @@ Url {
29512951
added: v8.4.0
29522952
-->
29532953

2954+
* Extends: {Stream}
2955+
29542956
This object is created internally by an HTTP server — not by the user. It is
29552957
passed as the second parameter to the [`'request'`][] event.
29562958

2957-
The response inherits from [Stream][], and additionally implements the
2958-
following:
2959-
29602959
#### Event: 'close'
29612960
<!-- YAML
29622961
added: v8.4.0
@@ -3481,7 +3480,6 @@ following additional properties:
34813480
[RFC 8336]: https://tools.ietf.org/html/rfc8336
34823481
[RFC 8441]: https://tools.ietf.org/html/rfc8441
34833482
[Readable Stream]: stream.html#stream_class_stream_readable
3484-
[Stream]: stream.html#stream_stream
34853483
[Using `options.selectPadding()`]: #http2_using_options_selectpadding
34863484
[`'checkContinue'`]: #http2_event_checkcontinue
34873485
[`'connect'`]: #http2_event_connect

0 commit comments

Comments
 (0)