Skip to content

Commit 1d649e3

Browse files
trivikrBridgeAR
authored andcommitted
doc: indicate that Http2ServerRequest extends Readable
PR-URL: #29253 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent b2f169e commit 1d649e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/http2.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2653,14 +2653,13 @@ HTTP/2.
26532653
added: v8.4.0
26542654
-->
26552655

2656+
* Extends: {stream.Readable}
2657+
26562658
A `Http2ServerRequest` object is created by [`http2.Server`][] or
26572659
[`http2.SecureServer`][] and passed as the first argument to the
26582660
[`'request'`][] event. It may be used to access a request status, headers, and
26592661
data.
26602662

2661-
It implements the [Readable Stream][] interface, as well as the
2662-
following additional events, methods, and properties.
2663-
26642663
#### Event: 'aborted'
26652664
<!-- YAML
26662665
added: v8.4.0
@@ -3479,7 +3478,6 @@ following additional properties:
34793478
[RFC 7838]: https://tools.ietf.org/html/rfc7838
34803479
[RFC 8336]: https://tools.ietf.org/html/rfc8336
34813480
[RFC 8441]: https://tools.ietf.org/html/rfc8441
3482-
[Readable Stream]: stream.html#stream_class_stream_readable
34833481
[Using `options.selectPadding()`]: #http2_using_options_selectpadding
34843482
[`'checkContinue'`]: #http2_event_checkcontinue
34853483
[`'connect'`]: #http2_event_connect

0 commit comments

Comments
 (0)