diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-19 13:31:11 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-19 21:45:39 +0300 |
commit | 14e6274bed1690f29d5d6afd30b3b9a4489e2994 (patch) | |
tree | 97f5f0ce8d6c09681d8f74d2fdd362d1fdacc390 /doc/api/http2.md | |
parent | bd090f9220c3a36891f348f50578ff961deadba1 (diff) | |
download | android-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.md | 4 |
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 --> |