Skip to content

Commit 8cbbe73

Browse files
TJKouryvsemozhetbyt
authored andcommitted
doc: fix typo in http2.md
sendTrilers => sendTrailers. PR-URL: #26616 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
1 parent 575e086 commit 8cbbe73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ default behavior is to destroy the stream.
16021602

16031603
When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
16041604
will be emitted immediately after queuing the last chunk of payload data to be
1605-
sent. The `http2stream.sendTrilers()` method can then be used to sent trailing
1605+
sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
16061606
header fields to the peer.
16071607

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

0 commit comments

Comments
 (0)