summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorPieter Mees <pieter.mees@zentrick.com>2018-04-06 17:42:24 -0400
committerMatteo Collina <hello@matteocollina.com>2018-04-11 08:57:08 +0200
commitf64aaba72517c4c6e7270fda3fb288e4823b865e (patch)
treeb9deba0b32c77d95d56185db75ca90eab977c21a /doc/api/http2.md
parent4ac7753e4d6de2b52e4404391d6705ee14038663 (diff)
downloadandroid-node-v8-f64aaba72517c4c6e7270fda3fb288e4823b865e.tar.gz
android-node-v8-f64aaba72517c4c6e7270fda3fb288e4823b865e.tar.bz2
android-node-v8-f64aaba72517c4c6e7270fda3fb288e4823b865e.zip
doc: add Http2Session.connecting property
PR-URL: https://github.com/nodejs/node/pull/19842 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index ef0fc85d77..1c4980cb8b 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -320,6 +320,17 @@ added: v9.4.0
Will be `true` if this `Http2Session` instance has been closed, otherwise
`false`.
+#### http2session.connecting
+<!-- YAML
+added: REPLACEME
+-->
+
+* {boolean}
+
+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])
<!-- YAML
added: v8.4.0