Skip to content

Commit fcbb258

Browse files
committed
doc: update Http2ServerResponse extends Stream
also removes the redundant statement explained by "extends Stream"
1 parent f70261f commit fcbb258

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/http2.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -2938,12 +2938,11 @@ Url {
29382938
added: v8.4.0
29392939
-->
29402940

2941+
* Extends: {Stream}
2942+
29412943
This object is created internally by an HTTP server — not by the user. It is
29422944
passed as the second parameter to the [`'request'`][] event.
29432945

2944-
The response inherits from [Stream][], and additionally implements the
2945-
following:
2946-
29472946
#### Event: 'close'
29482947
<!-- YAML
29492948
added: v8.4.0
@@ -3470,7 +3469,6 @@ following additional properties:
34703469
[RFC 8336]: https://tools.ietf.org/html/rfc8336
34713470
[RFC 8441]: https://tools.ietf.org/html/rfc8441
34723471
[Readable Stream]: stream.html#stream_class_stream_readable
3473-
[Stream]: stream.html#stream_stream
34743472
[`'checkContinue'`]: #http2_event_checkcontinue
34753473
[`'connect'`]: #http2_event_connect
34763474
[`'request'`]: #http2_event_request

0 commit comments

Comments
 (0)