Skip to content

Commit af5cebb

Browse files
ryzokukenBethGriggs
authored andcommitted
doc,http2: add parameters for Http2Session:connect event
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 <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
1 parent 887417e commit af5cebb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/http2.md

+3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ listener does not expect any arguments.
136136
added: v8.4.0
137137
-->
138138

139+
* `session` {Http2Session}
140+
* `socket` {net.Socket}
141+
139142
The `'connect'` event is emitted once the `Http2Session` has been successfully
140143
connected to the remote peer and communication may begin.
141144

0 commit comments

Comments
 (0)