diff options
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r-- | doc/api/http2.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 34a53e33b7..78894c3aea 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2711,8 +2711,8 @@ added: v8.4.0 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 implements, but does not inherit from, the [Writable Stream][] -interface. This is an [`EventEmitter`][] with the following events: +The response inherits from [Stream][], and additionally implements the +following: #### Event: 'close' <!-- YAML @@ -3231,13 +3231,11 @@ following additional properties: [Readable Stream]: stream.html#stream_class_stream_readable [RFC 7838]: https://tools.ietf.org/html/rfc7838 [Using `options.selectPadding()`]: #http2_using_options_selectpadding -[Writable Stream]: stream.html#stream_writable_streams [`'checkContinue'`]: #http2_event_checkcontinue [`'request'`]: #http2_event_request [`'unknownProtocol'`]: #http2_event_unknownprotocol [`ClientHttp2Stream`]: #http2_class_clienthttp2stream [`Duplex`]: stream.html#stream_class_stream_duplex -[`EventEmitter`]: events.html#events_class_eventemitter [`Http2ServerRequest`]: #http2_class_http2_http2serverrequest [`Http2Session` and Sockets]: #http2_http2session_and_sockets [`Http2Stream`]: #http2_class_http2stream |