Skip to content

Commit d7ece45

Browse files
committed
doc: fix "used to sent" → "used to send" in http2
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com>
1 parent 39b481b commit d7ece45

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
@@ -1942,7 +1942,7 @@ server.on('stream', (stream) => {
19421942
Initiates a response. When the `options.waitForTrailers` option is set, the
19431943
`'wantTrailers'` event will be emitted immediately after queuing the last chunk
19441944
of payload data to be sent. The `http2stream.sendTrailers()` method can then be
1945-
used to sent trailing header fields to the peer.
1945+
used to send trailing header fields to the peer.
19461946

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

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

20712071
When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
@@ -2270,7 +2270,7 @@ default behavior is to destroy the stream.
22702270

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

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

0 commit comments

Comments
 (0)