Skip to content

Commit 824b3e2

Browse files
trivikrTrott
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 f39ad8a commit 824b3e2

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
@@ -2938,12 +2938,11 @@ Url {
29382938
added: v8.4.0
29392939
-->
29402940

2941+
* Extends: {Stream}
2942+
29412943
This object is created internally by an HTTP server — not by the user. It is
29422944
passed as the second parameter to the [`'request'`][] event.
29432945

2944-
The response inherits from [Stream][], and additionally implements the
2945-
following:
2946-
29472946
#### Event: 'close'
29482947
<!-- YAML
29492948
added: v8.4.0
@@ -3470,7 +3469,6 @@ following additional properties:
34703469
[RFC 8336]: https://tools.ietf.org/html/rfc8336
34713470
[RFC 8441]: https://tools.ietf.org/html/rfc8441
34723471
[Readable Stream]: stream.html#stream_class_stream_readable
3473-
[Stream]: stream.html#stream_stream
34743472
[`'checkContinue'`]: #http2_event_checkcontinue
34753473
[`'connect'`]: #http2_event_connect
34763474
[`'request'`]: #http2_event_request

0 commit comments

Comments
 (0)