summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-08-19 13:31:11 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-08-19 21:45:39 +0300
commit14e6274bed1690f29d5d6afd30b3b9a4489e2994 (patch)
tree97f5f0ce8d6c09681d8f74d2fdd362d1fdacc390 /doc/api/http2.md
parentbd090f9220c3a36891f348f50578ff961deadba1 (diff)
downloadandroid-node-v8-14e6274bed1690f29d5d6afd30b3b9a4489e2994.tar.gz
android-node-v8-14e6274bed1690f29d5d6afd30b3b9a4489e2994.tar.bz2
android-node-v8-14e6274bed1690f29d5d6afd30b3b9a4489e2994.zip
doc: unify optional arguments format in headings
Make space and comma distribution in some headings consistent with the majority of headings. PR-URL: https://github.com/nodejs/node/pull/22397 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 78894c3aea..3073928f6c 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -349,7 +349,7 @@ Will be `true` if this `Http2Session` instance is still connecting, will be set
to `false` before emitting `connect` event and/or calling the `http2.connect`
callback.
-#### http2session.destroy([error,][code])
+#### http2session.destroy([error][, code])
<!-- YAML
added: v8.4.0
-->
@@ -392,7 +392,7 @@ connected, `true` if the `Http2Session` is connected with a `TLSSocket`,
and `false` if the `Http2Session` is connected to any other kind of socket
or stream.
-#### http2session.goaway([code, [lastStreamID, [opaqueData]]])
+#### http2session.goaway([code[, lastStreamID[, opaqueData]]])
<!-- YAML
added: v9.4.0
-->