Skip to content

Commit f64aaba

Browse files
pietermeesmcollina
authored andcommitted
doc: add Http2Session.connecting property
PR-URL: #19842 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
1 parent 4ac7753 commit f64aaba

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
@@ -320,6 +320,17 @@ added: v9.4.0
320320
Will be `true` if this `Http2Session` instance has been closed, otherwise
321321
`false`.
322322

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

0 commit comments

Comments
 (0)