Skip to content

Commit

Permalink
doc: add Http2Session.connecting property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pietermees authored and MylesBorins committed May 2, 2018
1 parent 3a890a8 commit 4dc0b3c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,17 @@ added: REPLACEME
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
Expand Down

0 comments on commit 4dc0b3c

Please sign in to comment.