@@ -1338,10 +1338,11 @@ added: v8.4.0
13381338
13391339* ` headers ` {HTTP/2 Headers Object} An object describing the headers
13401340* ` flags ` {number} The associated numeric flags
1341+ * ` rawHeaders ` {HTTP/2 Raw Headers}
13411342
13421343The ` 'trailers' ` event is emitted when a block of headers associated with
1343- trailing header fields is received. The listener callback is passed the
1344- [ HTTP/2 Headers Object ] [ ] and flags associated with the headers .
1344+ trailing header fields is received. The listener callback is passed the [ HTTP/2 Headers Object ] [ ] , flags associated
1345+ with the headers, and the headers in raw format (see [ HTTP/2 Raw Headers ] [ ] ) .
13451346
13461347This event might not be emitted if ` http2stream.end() ` is called
13471348before trailers are received and the incoming data is not being read or
@@ -1695,10 +1696,11 @@ added: v8.4.0
16951696
16961697* ` headers ` {HTTP/2 Headers Object}
16971698* ` flags ` {number}
1699+ * ` rawHeaders ` {HTTP/2 Raw Headers}
16981700
16991701The ` 'push' ` event is emitted when response headers for a Server Push stream
1700- are received. The listener callback is passed the [ HTTP/2 Headers Object] [ ] and
1701- flags associated with the headers.
1702+ are received. The listener callback is passed the [ HTTP/2 Headers Object] [ ] , flags associated
1703+ with the headers, and the headers in raw format (see [ HTTP/2 Raw Headers ] [ ] ) .
17021704
17031705``` js
17041706stream .on (' push' , (headers , flags ) => {
0 commit comments