'ping' 事件


  • payload <Buffer> PING 帧 8 字节有效载荷

每当从连接的对等方接收到 PING 帧时,则会触发 'ping' 事件。

  • payload <Buffer> The PING frame 8-byte payload

The 'ping' event is emitted whenever a PING frame is received from the connected peer.