From 6f685706a0de537f6d13d0dc05394926e027f3bd Mon Sep 17 00:00:00 2001 From: TJKoury Date: Tue, 12 Mar 2019 14:41:34 -0400 Subject: [PATCH] doc: fix typo in http2.md sendTrilers => sendTrailers. PR-URL: https://github.com/nodejs/node/pull/26616 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Vse Mozhet Byt --- doc/api/http2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 434f603201b844..2b4303ab0dccf7 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -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