Skip to content

Commit 165d214

Browse files
pietermeesMylesBorins
authored andcommittedMay 15, 2018
doc: add Http2Session.connecting property
Backport-PR-URL: #20456 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 84fa6eb commit 165d214

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)
Please sign in to comment.