summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-04-21 10:58:12 +0530
committerUjjwal Sharma <usharma1998@gmail.com>2018-04-22 02:39:58 +0530
commit31cbec7f55b63b86877da4599a7561f626b7c908 (patch)
tree31deb4788265defff7f01d0f5cd35bdcabd7a5ce /doc/api/http2.md
parenta8b891ceb31d70c8c9372435bd558d7df3ebbcf2 (diff)
downloadandroid-node-v8-31cbec7f55b63b86877da4599a7561f626b7c908.tar.gz
android-node-v8-31cbec7f55b63b86877da4599a7561f626b7c908.tar.bz2
android-node-v8-31cbec7f55b63b86877da4599a7561f626b7c908.zip
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>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 9a0b559534..a893cda97e 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.