We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578e054 commit 0e88051Copy full SHA for 0e88051
doc/api/http2.md
@@ -232,10 +232,13 @@ session.on('remoteSettings', (settings) => {
232
added: v8.4.0
233
-->
234
235
-The `'stream'` event is emitted when a new `Http2Stream` is created. When
236
-invoked, the handler function will receive a reference to the `Http2Stream`
237
-object, a [HTTP/2 Headers Object][], and numeric flags associated with the
238
-creation of the stream.
+* `stream` {Http2Stream} A reference to the stream
+* `headers` {HTTP/2 Headers Object} An object describing the headers
+* `flags` {number} The associated numeric flags
+* `rawHeaders` {Array} An array containing the raw header names followed by
239
+ their respective values.
240
+
241
+The `'stream'` event is emitted when a new `Http2Stream` is created.
242
243
```js
244
const http2 = require('http2');
0 commit comments