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)

PR-URL: nodejs#20193
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
  • Loading branch information
ryzokuken authored and kjin committed Oct 16, 2018
1 parent 8786251 commit b01edd2
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 b01edd2

Please sign in to comment.