@@ -1822,9 +1822,17 @@ an `Http2Session` object associated with the `Http2Server`.
1822
1822
added: v8.4.0
1823
1823
-->
1824
1824
1825
+ * ` stream ` {Http2Stream} A reference to the stream
1826
+ * ` headers ` {HTTP/2 Headers Object} An object describing the headers
1827
+ * ` flags ` {number} The associated numeric flags
1828
+ * ` rawHeaders ` {Array} An array containing the raw header names followed by
1829
+ their respective values.
1830
+
1825
1831
The ` 'stream' ` event is emitted when a ` 'stream' ` event has been emitted by
1826
1832
an ` Http2Session ` associated with the server.
1827
1833
1834
+ See also [ ` Http2Session ` 's ` 'stream' ` event] [ ] .
1835
+
1828
1836
``` js
1829
1837
const http2 = require (' http2' );
1830
1838
const {
@@ -2010,9 +2018,17 @@ an `Http2Session` object associated with the `Http2SecureServer`.
2010
2018
added: v8.4.0
2011
2019
-->
2012
2020
2021
+ * ` stream ` {Http2Stream} A reference to the stream
2022
+ * ` headers ` {HTTP/2 Headers Object} An object describing the headers
2023
+ * ` flags ` {number} The associated numeric flags
2024
+ * ` rawHeaders ` {Array} An array containing the raw header names followed by
2025
+ their respective values.
2026
+
2013
2027
The ` 'stream' ` event is emitted when a ` 'stream' ` event has been emitted by
2014
2028
an ` Http2Session ` associated with the server.
2015
2029
2030
+ See also [ ` Http2Session ` 's ` 'stream' ` event] [ ] .
2031
+
2016
2032
``` js
2017
2033
const http2 = require (' http2' );
2018
2034
const {
@@ -3845,6 +3861,7 @@ you need to implement any fall-back behaviour yourself.
3845
3861
[ `Http2ServerRequest` ] : #http2_class_http2_http2serverrequest
3846
3862
[ `Http2ServerResponse` ] : #http2_class_http2_http2serverresponse
3847
3863
[ `Http2Session` and Sockets ] : #http2_http2session_and_sockets
3864
+ [ `Http2Session`'s `'stream'` event ] : #http2_event_stream
3848
3865
[ `Http2Stream` ] : #http2_class_http2stream
3849
3866
[ `ServerHttp2Stream` ] : #http2_class_serverhttp2stream
3850
3867
[ `TypeError` ] : errors.md#errors_class_typeerror
0 commit comments