Skip to content

Commit

Permalink
doc: fix typo in http2.md
Browse files Browse the repository at this point in the history
sendTrilers => sendTrailers.

PR-URL: #26616
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
  • Loading branch information
TJKoury authored and vsemozhetbyt committed Mar 12, 2019
1 parent 575e086 commit 8cbbe73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,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.sendTrilers()` method can then be used to sent trailing
sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
header fields to the peer.

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

0 comments on commit 8cbbe73

Please sign in to comment.