Skip to content

Commit 29643cc

Browse files
pietermeesMylesBorins
authored andcommitted
doc: add Http2Session.connecting property
Backport-PR-URL: #20456 PR-URL: #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>
1 parent 88d4794 commit 29643cc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/api/http2.md

+11
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,17 @@ added: REPLACEME
321321
Will be `true` if this `Http2Session` instance has been closed, otherwise
322322
`false`.
323323

324+
#### http2session.connecting
325+
<!-- YAML
326+
added: REPLACEME
327+
-->
328+
329+
* {boolean}
330+
331+
Will be `true` if this `Http2Session` instance is still connecting, will be set
332+
to `false` before emitting `connect` event and/or calling the `http2.connect`
333+
callback.
334+
324335
#### http2session.destroy([error,][code])
325336
<!-- YAML
326337
added: v8.4.0

0 commit comments

Comments
 (0)