From 581e40ee4d223f080cc156b28a2512ab9d43bbd3 Mon Sep 17 00:00:00 2001 From: TJKoury Date: Tue, 12 Mar 2019 14:41:34 -0400 Subject: [PATCH] Update http2.md sendTrilers => sendTrailers. --- 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