事件:'connect'
¥Event: 'connect'
-
session
<Http2Session> -
socket
<net.Socket>
一旦 Http2Session
成功连接到远程对等方并且通信可以开始,则会触发 'connect'
事件。
¥The 'connect'
event is emitted once the Http2Session
has been successfully
connected to the remote peer and communication may begin.
用户代码通常不会直接监听此事件。
¥User code will typically not listen for this event directly.