From 645516cd43e73814525d73e92b1a3a156d947862 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 ef0fc85d774d48..1c4980cb8b8952 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])