From 29643cc492b0048fb770c5a9ffe4999ea9c32715 Mon Sep 17 00:00:00 2001 From: Pieter Mees Date: Fri, 6 Apr 2018 17:42:24 -0400 Subject: [PATCH] doc: add Http2Session.connecting property Backport-PR-URL: https://github.com/nodejs/node/pull/20456 PR-URL: https://github.com/nodejs/node/pull/19842 Reviewed-By: James M Snell Reviewed-By: Matteo Collina Reviewed-By: Anna Henningsen Reviewed-By: Anatoli Papirovski --- doc/api/http2.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index fa1cb61536a93f..6d69709e224c8d 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -321,6 +321,17 @@ added: REPLACEME Will be `true` if this `Http2Session` instance has been closed, otherwise `false`. +#### http2session.connecting + + +* {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])