Skip to content

Commit

Permalink
doc: document the ready event for Http2Stream
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Jul 6, 2020
1 parent ee3416b commit 56bb548
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,15 @@ argument identifying the frame type, and an integer argument identifying the
error code. The `Http2Stream` instance will be destroyed immediately after the
`'frameError'` event is emitted.

#### Event: `'ready'`
<!-- YAML
added: v8.4.0
-->

The `'ready'` event is emitted when the `Http2Stream` has been opened, has
been assigned an `id`, and can be used. The listener does not expect any
arguments.

#### Event: `'timeout'`
<!-- YAML
added: v8.4.0
Expand Down

0 comments on commit 56bb548

Please sign in to comment.