From 477fd37b8fb063e16d23c0d3a4374ccef05a5fe6 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Sat, 21 Apr 2018 10:58:12 +0530 Subject: [PATCH] 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 --- doc/api/http2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index 9a0b5595346307..a893cda97ef7bf 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -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.