From 9eb9641f2eb39dfa73768a336328c2f4bc91806e 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 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 2591352875501d..aa71fb17d02a2c 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 + + +* {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])