'connect' 事件
session
<Http2Session>socket
<net.Socket>
一旦 Http2Session
成功连接到远程对等方并且通信可以开始,则会触发 'connect'
事件。
用户代码通常不会直接监听此事件。
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.
User code will typically not listen for this event directly.