Skip to content

Commit 477fd37

Browse files
committed
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)
1 parent 2a88f02 commit 477fd37

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)