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)

Backport-PR-URL: #22850
PR-URL: #20193
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
  • Loading branch information
ryzokuken authored and BethGriggs committed Oct 16, 2018
1 parent 887417e commit af5cebb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/http2.md
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 af5cebb

Please sign in to comment.