@@ -1789,9 +1789,17 @@ an `Http2Session` object associated with the `Http2Server`.
1789
1789
added: v8.4.0
1790
1790
-->
1791
1791
1792
+ * ` stream ` {Http2Stream} A reference to the stream
1793
+ * ` headers ` {HTTP/2 Headers Object} An object describing the headers
1794
+ * ` flags ` {number} The associated numeric flags
1795
+ * ` rawHeaders ` {Array} An array containing the raw header names followed by
1796
+ their respective values.
1797
+
1792
1798
The ` 'stream' ` event is emitted when a ` 'stream' ` event has been emitted by
1793
1799
an ` Http2Session ` associated with the server.
1794
1800
1801
+ See also [ ` Http2Session ` 's ` 'stream' ` event] [ ] .
1802
+
1795
1803
``` js
1796
1804
const http2 = require (' http2' );
1797
1805
const {
@@ -1977,9 +1985,17 @@ an `Http2Session` object associated with the `Http2SecureServer`.
1977
1985
added: v8.4.0
1978
1986
-->
1979
1987
1988
+ * ` stream ` {Http2Stream} A reference to the stream
1989
+ * ` headers ` {HTTP/2 Headers Object} An object describing the headers
1990
+ * ` flags ` {number} The associated numeric flags
1991
+ * ` rawHeaders ` {Array} An array containing the raw header names followed by
1992
+ their respective values.
1993
+
1980
1994
The ` 'stream' ` event is emitted when a ` 'stream' ` event has been emitted by
1981
1995
an ` Http2Session ` associated with the server.
1982
1996
1997
+ See also [ ` Http2Session ` 's ` 'stream' ` event] [ ] .
1998
+
1983
1999
``` js
1984
2000
const http2 = require (' http2' );
1985
2001
const {
@@ -3739,6 +3755,7 @@ following additional properties:
3739
3755
[ `Http2ServerRequest` ] : #http2_class_http2_http2serverrequest
3740
3756
[ `Http2ServerResponse` ] : #http2_class_http2_http2serverresponse
3741
3757
[ `Http2Session` and Sockets ] : #http2_http2session_and_sockets
3758
+ [ `Http2Session`'s `'stream'` event ] : #http2_event_stream
3742
3759
[ `Http2Stream` ] : #http2_class_http2stream
3743
3760
[ `ServerHttp2Stream` ] : #http2_class_serverhttp2stream
3744
3761
[ `TypeError` ] : errors.md#errors_class_typeerror
0 commit comments