事件:'timeout'


🌐 Event: 'timeout'

新增于: v0.1.90

如果套接字因长时间未活动而超时,将发出此信号。这仅用于通知套接字处于空闲状态。用户必须手动关闭连接。

🌐 Emitted if the socket times out from inactivity. This is only to notify that the socket has been idle. The user must manually close the connection.

另请参见:socket.setTimeout()

🌐 See also: socket.setTimeout().

AltStyle によって変換されたページ (->オリジナル) /