summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md2
-rw-r--r--doc/api/http2.md2
-rw-r--r--doc/api/stream.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 10f68cab4c..2f51e2473a 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1175,7 +1175,7 @@ deprecated: REPLACEME
See [`response.socket`][].
-### response.end([data][, encoding][, callback])
+### response.end([data[, encoding]][, callback])
<!-- YAML
added: v0.1.90
changes:
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 494a7d8212..a204f53e3b 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -3006,7 +3006,7 @@ deprecated: REPLACEME
See [`response.socket`][].
-#### response.end([data][, encoding][, callback])
+#### response.end([data[, encoding]][, callback])
<!-- YAML
added: v8.4.0
changes:
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 03171f4a2e..b6093e8917 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -394,7 +394,7 @@ added: v8.0.0
Is `true` after [`writable.destroy()`][writable-destroy] has been called.
-##### writable.end([chunk][, encoding][, callback])
+##### writable.end([chunk[, encoding]][, callback])
<!-- YAML
added: v0.9.4
changes: