summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorexoego <mogami@exoego.net>2019-10-03 13:15:32 +0900
committerRich Trott <rtrott@gmail.com>2019-10-10 19:42:48 -0700
commit3aeae8d81b7b78668c37f7a07a72d94781126d49 (patch)
treebb44c24a901d9a8b12f28c4ce3241ed7a914c5f0 /doc
parent624fa4147ab26e93107f4d2db90c21840bc88807 (diff)
downloadandroid-node-v8-3aeae8d81b7b78668c37f7a07a72d94781126d49.tar.gz
android-node-v8-3aeae8d81b7b78668c37f7a07a72d94781126d49.tar.bz2
android-node-v8-3aeae8d81b7b78668c37f7a07a72d94781126d49.zip
doc: return type is number
PR-URL: https://github.com/nodejs/node/pull/29828 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-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 fc4b2d805a..0582cdff21 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1195,8 +1195,8 @@ Provides miscellaneous information about the current state of the
for this `Http2Stream` without receiving a `WINDOW_UPDATE`.
* `state` {number} A flag indicating the low-level current state of the
`Http2Stream` as determined by `nghttp2`.
- * `localClose` {number} `true` if this `Http2Stream` has been closed locally.
- * `remoteClose` {number} `true` if this `Http2Stream` has been closed
+ * `localClose` {number} `1` if this `Http2Stream` has been closed locally.
+ * `remoteClose` {number} `1` if this `Http2Stream` has been closed
remotely.
* `sumDependencyWeight` {number} The sum weight of all `Http2Stream`
instances that depend on this `Http2Stream` as specified using