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>
This commit is contained in:
Pieter Mees 2018-04-06 17:42:24 -04:00 committed by Matteo Collina
parent 4ac7753e4d
commit f64aaba725

View File

@ -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