Skip to content

Commit 31c3fc0

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

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
@@ -2628,14 +2628,13 @@ HTTP/2.
26282628
added: v8.4.0
26292629
-->
26302630

2631+
* Extends: {stream.Readable}
2632+
26312633
A `Http2ServerRequest` object is created by [`http2.Server`][] or
26322634
[`http2.SecureServer`][] and passed as the first argument to the
26332635
[`'request'`][] event. It may be used to access a request status, headers, and
26342636
data.
26352637

2636-
It implements the [Readable Stream][] interface, as well as the
2637-
following additional events, methods, and properties.
2638-
26392638
#### Event: 'aborted'
26402639
<!-- YAML
26412640
added: v8.4.0
@@ -3468,7 +3467,6 @@ following additional properties:
34683467
[RFC 7838]: https://tools.ietf.org/html/rfc7838
34693468
[RFC 8336]: https://tools.ietf.org/html/rfc8336
34703469
[RFC 8441]: https://tools.ietf.org/html/rfc8441
3471-
[Readable Stream]: stream.html#stream_class_stream_readable
34723470
[`'checkContinue'`]: #http2_event_checkcontinue
34733471
[`'connect'`]: #http2_event_connect
34743472
[`'request'`]: #http2_event_request

0 commit comments

Comments
 (0)