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:
parent
4ac7753e4d
commit
f64aaba725
@ -320,6 +320,17 @@ added: v9.4.0
|
|||||||
Will be `true` if this `Http2Session` instance has been closed, otherwise
|
Will be `true` if this `Http2Session` instance has been closed, otherwise
|
||||||
`false`.
|
`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])
|
#### http2session.destroy([error,][code])
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v8.4.0
|
added: v8.4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user