Skip to content

Commit

Permalink
doc: update Http2ServerResponse extends Stream
Browse files Browse the repository at this point in the history
also removes the redundant statement explained by "extends Stream"
  • Loading branch information
trivikr committed Aug 21, 2019
1 parent f70261f commit fcbb258
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 @@ -2938,12 +2938,11 @@ Url {
added: v8.4.0
-->

* Extends: {Stream}

This object is created internally by an HTTP server — not by the user. It is
passed as the second parameter to the [`'request'`][] event.

The response inherits from [Stream][], and additionally implements the
following:

#### Event: 'close'
<!-- YAML
added: v8.4.0
Expand Down Expand Up @@ -3470,7 +3469,6 @@ following additional properties:
[RFC 8336]: https://tools.ietf.org/html/rfc8336
[RFC 8441]: https://tools.ietf.org/html/rfc8441
[Readable Stream]: stream.html#stream_class_stream_readable
[Stream]: stream.html#stream_stream
[`'checkContinue'`]: #http2_event_checkcontinue
[`'connect'`]: #http2_event_connect
[`'request'`]: #http2_event_request
Expand Down

0 comments on commit fcbb258

Please sign in to comment.