We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 395ce84 commit 448922dCopy full SHA for 448922d
doc/api/http2.md
@@ -233,10 +233,13 @@ session.on('remoteSettings', (settings) => {
233
added: v8.4.0
234
-->
235
236
-The `'stream'` event is emitted when a new `Http2Stream` is created. When
237
-invoked, the handler function will receive a reference to the `Http2Stream`
238
-object, a [HTTP/2 Headers Object][], and numeric flags associated with the
239
-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
240
+ their respective values.
241
+
242
+The `'stream'` event is emitted when a new `Http2Stream` is created.
243
244
```js
245
const http2 = require('http2');
0 commit comments