From 5b42d812cc894e29b930015e0a1366710d364635 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 6f3b70be3a03f4..5f130b02e99a36 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3114,7 +3114,7 @@ changes: description: This method now returns a reference to `ServerResponse`. --> -* `data` {string|Buffer} +* `data` {string|Buffer|Uint8Array} * `encoding` {string} * `callback` {Function} * Returns: {this} @@ -3396,7 +3396,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}