From 8b44be9b266be5bcdee19f37f5c78680bfe32b4b Mon Sep 17 00:00:00 2001 From: Pranshu Srivastava Date: Sun, 3 May 2020 03:08:31 +0530 Subject: [PATCH] doc: add Uint8Array to `end` and `write` PR-URL: https://github.com/nodejs/node/pull/33217 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/http2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 10924c4f52e93d..4199f857f31087 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3099,7 +3099,7 @@ changes: description: This method now returns a reference to `ServerResponse`. --> -* `data` {string|Buffer} +* `data` {string|Buffer|Uint8Array} * `encoding` {string} * `callback` {Function} * Returns: {this} @@ -3379,7 +3379,7 @@ does not indicate whether the data has been flushed, for this use added: v8.4.0 --> -* `chunk` {string|Buffer} +* `chunk` {string|Buffer|Uint8Array} * `encoding` {string} * `callback` {Function} * Returns: {boolean}