doc: indicate that Http2ServerRequest extends Readable

PR-URL: https://github.com/nodejs/node/pull/29253
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Trivikram Kamat 2019-08-21 11:16:27 -07:00 committed by Rich Trott
parent 824b3e2a55
commit 31c3fc075b

View File

@ -2628,14 +2628,13 @@ HTTP/2.
added: v8.4.0
-->
* Extends: {stream.Readable}
A `Http2ServerRequest` object is created by [`http2.Server`][] or
[`http2.SecureServer`][] and passed as the first argument to the
[`'request'`][] event. It may be used to access a request status, headers, and
data.
It implements the [Readable Stream][] interface, as well as the
following additional events, methods, and properties.
#### Event: 'aborted'
<!-- YAML
added: v8.4.0
@ -3468,7 +3467,6 @@ following additional properties:
[RFC 7838]: https://tools.ietf.org/html/rfc7838
[RFC 8336]: https://tools.ietf.org/html/rfc8336
[RFC 8441]: https://tools.ietf.org/html/rfc8441
[Readable Stream]: stream.html#stream_class_stream_readable
[`'checkContinue'`]: #http2_event_checkcontinue
[`'connect'`]: #http2_event_connect
[`'request'`]: #http2_event_request