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: https://github.com/nodejs/help/issues/877#issuecomment-381253464

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Ujjwal Sharma 2018-04-21 10:58:12 +05:30
parent a8b891ceb3
commit 31cbec7f55
No known key found for this signature in database
GPG Key ID: 1FD3B47B83F46621

View File

@ -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.