Skip to content

Commit

Permalink
doc,http2: add parameters for Http2Session:connect event
Browse files Browse the repository at this point in the history
Add parameters for the callback for the Http2Session:connect event
inline with the pattern in the rest of the documentation.

Refs: nodejs/help#877 (comment)
  • Loading branch information
ryzokuken committed Apr 21, 2018
1 parent 2a88f02 commit 477fd37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ listener does not expect any arguments.
added: v8.4.0
-->

* `session` {Http2Session}
* `socket` {net.Socket}

The `'connect'` event is emitted once the `Http2Session` has been successfully
connected to the remote peer and communication may begin.

Expand Down

0 comments on commit 477fd37

Please sign in to comment.