Skip to content

Commit

Permalink
doc: indicate that Http2ServerRequest extends Readable
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored and Trott committed Aug 23, 2019
1 parent 824b3e2 commit 3f1d9ed
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3f1d9ed

Please sign in to comment.