@@ -744,10 +744,10 @@ is emitted immediately after queuing the last chunk of payload data to be sent.
744
744
The ` http2stream.sendTrailers() ` method can then be called to send trailing
745
745
headers to the peer.
746
746
747
- It is important to note that when ` options.waitForTrailers ` is set, the
748
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
749
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
750
- ` http2stream.close() ` to close the ` Http2Stream ` .
747
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
748
+ close when the final ` DATA ` frame is transmitted. User code must call either
749
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
750
+ ` Http2Stream ` .
751
751
752
752
The ` :method ` and ` :path ` pseudo-headers are not specified within ` headers ` ,
753
753
they respectively default to:
@@ -1290,10 +1290,10 @@ will be emitted immediately after queuing the last chunk of payload data to be
1290
1290
sent. The ` http2stream.sendTrailers() ` method can then be used to sent trailing
1291
1291
header fields to the peer.
1292
1292
1293
- It is important to note that when ` options.waitForTrailers ` is set, the
1294
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
1295
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
1296
- ` http2stream.close() ` to close the ` Http2Stream ` .
1293
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
1294
+ close when the final ` DATA ` frame is transmitted. User code must call either
1295
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
1296
+ ` Http2Stream ` .
1297
1297
1298
1298
``` js
1299
1299
const http2 = require (' http2' );
@@ -1369,10 +1369,10 @@ will be emitted immediately after queuing the last chunk of payload data to be
1369
1369
sent. The ` http2stream.sendTrailers() ` method can then be used to sent trailing
1370
1370
header fields to the peer.
1371
1371
1372
- It is important to note that when ` options.waitForTrailers ` is set, the
1373
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
1374
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
1375
- ` http2stream.close() ` to close the ` Http2Stream ` .
1372
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
1373
+ close when the final ` DATA ` frame is transmitted. User code * must * call either
1374
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
1375
+ ` Http2Stream ` .
1376
1376
1377
1377
``` js
1378
1378
const http2 = require (' http2' );
@@ -1488,10 +1488,10 @@ will be emitted immediately after queuing the last chunk of payload data to be
1488
1488
sent. The ` http2stream.sendTrilers() ` method can then be used to sent trailing
1489
1489
header fields to the peer.
1490
1490
1491
- It is important to note that when ` options.waitForTrailers ` is set, the
1492
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
1493
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
1494
- ` http2stream.close() ` to close the ` Http2Stream ` .
1491
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
1492
+ close when the final ` DATA ` frame is transmitted. User code must call either
1493
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
1494
+ ` Http2Stream ` .
1495
1495
1496
1496
``` js
1497
1497
const http2 = require (' http2' );
0 commit comments