From af5cebb326807f1bd6ad235e39c6a681385de608 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 Backport-PR-URL: https://github.com/nodejs/node/pull/22850 PR-URL: https://github.com/nodejs/node/pull/20193 Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Matteo Collina Reviewed-By: Vse Mozhet Byt --- doc/api/http2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index 47b5bb8af8148f..a32fd36764b2a8 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.