Skip to content

Commit be256f4

Browse files
watildeaduh95
authored andcommitted
doc: fix "used to sent" → "used to send" in http2
Signed-off-by: Daijiro Wachi <[email protected]> PR-URL: #63700 Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent 15ca68c commit be256f4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/http2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,7 +1900,7 @@ server.on('stream', (stream) => {
19001900
Initiates a response. When the `options.waitForTrailers` option is set, the
19011901
`'wantTrailers'` event will be emitted immediately after queuing the last chunk
19021902
of payload data to be sent. The `http2stream.sendTrailers()` method can then be
1903-
used to sent trailing header fields to the peer.
1903+
used to send trailing header fields to the peer.
19041904

19051905
When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
19061906
close when the final `DATA` frame is transmitted. User code must call either
@@ -2023,7 +2023,7 @@ after a stream has finished is supported.
20232023

20242024
When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
20252025
will be emitted immediately after queuing the last chunk of payload data to be
2026-
sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
2026+
sent. The `http2stream.sendTrailers()` method can then be used to send trailing
20272027
header fields to the peer.
20282028

20292029
When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
@@ -2228,7 +2228,7 @@ default behavior is to destroy the stream.
22282228

22292229
When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
22302230
will be emitted immediately after queuing the last chunk of payload data to be
2231-
sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
2231+
sent. The `http2stream.sendTrailers()` method can then be used to send trailing
22322232
header fields to the peer.
22332233

22342234
When `options.waitForTrailers` is set, the `Http2Stream` will not automatically

0 commit comments

Comments
 (0)