| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent daa0940 commit 252ca72
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -232,10 +232,13 @@ session.on('remoteSettings', (settings) => { | |||
| 232 | 232 | added: v8.4.0 | |
| 233 | 233 | --> | |
| 234 | 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. | ||
| 235 | + * `stream` {Http2Stream} A reference to the stream | ||
| 236 | + * `headers` {HTTP/2 Headers Object} An object describing the headers | ||
| 237 | + * `flags` {number} The associated numeric flags | ||
| 238 | + * `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. | ||
| 239 | 242 | ||
| 240 | 243 | ```js | |
| 241 | 244 | const http2 = require('http2'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments