From d7ece4597c7fb037d39412da75207e93a090cfb5 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Tue, 2 Jun 2026 02:03:21 +0900 Subject: [PATCH] =?UTF-8?q?doc:=20fix=20"used=20to=20sent"=20=E2=86=92=20"?= =?UTF-8?q?used=20to=20send"=20in=20http2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daijiro Wachi --- doc/api/http2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 3003a078b2c56d..a73035e66d77ac 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1942,7 +1942,7 @@ server.on('stream', (stream) => { Initiates a response. When the `options.waitForTrailers` option is set, the `'wantTrailers'` event will be emitted immediately after queuing the last chunk of payload data to be sent. The `http2stream.sendTrailers()` method can then be -used to sent trailing header fields to the peer. +used to send trailing header fields to the peer. When `options.waitForTrailers` is set, the `Http2Stream` will not automatically close when the final `DATA` frame is transmitted. User code must call either @@ -2065,7 +2065,7 @@ after a stream has finished is supported. When the `options.waitForTrailers` option is set, the `'wantTrailers'` event will be emitted immediately after queuing the last chunk of payload data to be -sent. The `http2stream.sendTrailers()` method can then be used to sent trailing +sent. The `http2stream.sendTrailers()` method can then be used to send trailing header fields to the peer. When `options.waitForTrailers` is set, the `Http2Stream` will not automatically @@ -2270,7 +2270,7 @@ default behavior is to destroy the stream. When the `options.waitForTrailers` option is set, the `'wantTrailers'` event will be emitted immediately after queuing the last chunk of payload data to be -sent. The `http2stream.sendTrailers()` method can then be used to sent trailing +sent. The `http2stream.sendTrailers()` method can then be used to send trailing header fields to the peer. When `options.waitForTrailers` is set, the `Http2Stream` will not automatically