@@ -752,10 +752,10 @@ is emitted immediately after queuing the last chunk of payload data to be sent.
752
752
The ` http2stream.sendTrailers() ` method can then be called to send trailing
753
753
headers to the peer.
754
754
755
- It is important to note that when ` options.waitForTrailers ` is set, the
756
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
757
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
758
- ` http2stream.close() ` to close the ` Http2Stream ` .
755
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
756
+ close when the final ` DATA ` frame is transmitted. User code must call either
757
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
758
+ ` Http2Stream ` .
759
759
760
760
The ` :method ` and ` :path ` pseudo-headers are not specified within ` headers ` ,
761
761
they respectively default to:
@@ -1291,10 +1291,10 @@ will be emitted immediately after queuing the last chunk of payload data to be
1291
1291
sent. The ` http2stream.sendTrailers() ` method can then be used to sent trailing
1292
1292
header fields to the peer.
1293
1293
1294
- It is important to note that when ` options.waitForTrailers ` is set, the
1295
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
1296
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
1297
- ` http2stream.close() ` to close the ` Http2Stream ` .
1294
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
1295
+ close when the final ` DATA ` frame is transmitted. User code must call either
1296
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
1297
+ ` Http2Stream ` .
1298
1298
1299
1299
``` js
1300
1300
const http2 = require (' http2' );
@@ -1375,10 +1375,10 @@ will be emitted immediately after queuing the last chunk of payload data to be
1375
1375
sent. The ` http2stream.sendTrailers() ` method can then be used to sent trailing
1376
1376
header fields to the peer.
1377
1377
1378
- It is important to note that when ` options.waitForTrailers ` is set, the
1379
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
1380
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
1381
- ` http2stream.close() ` to close the ` Http2Stream ` .
1378
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
1379
+ close when the final ` DATA ` frame is transmitted. User code * must * call either
1380
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
1381
+ ` Http2Stream ` .
1382
1382
1383
1383
``` js
1384
1384
const http2 = require (' http2' );
@@ -1499,10 +1499,10 @@ will be emitted immediately after queuing the last chunk of payload data to be
1499
1499
sent. The ` http2stream.sendTrilers() ` method can then be used to sent trailing
1500
1500
header fields to the peer.
1501
1501
1502
- It is important to note that when ` options.waitForTrailers ` is set, the
1503
- ` Http2Stream ` will * not * automatically close when the final ` DATA ` frame is
1504
- transmitted. User code * must * call either ` http2stream.sendTrailers () ` or
1505
- ` http2stream.close() ` to close the ` Http2Stream ` .
1502
+ When ` options.waitForTrailers ` is set, the ` Http2Stream ` will not automatically
1503
+ close when the final ` DATA ` frame is transmitted. User code must call either
1504
+ ` http2stream.sendTrailers() ` or ` http2stream.close () ` to close the
1505
+ ` Http2Stream ` .
1506
1506
1507
1507
``` js
1508
1508
const http2 = require (' http2' );
0 commit comments