事件:'timeout'


¥Event: 'timeout'

当服务器上在使用 http2server.setTimeout() 设置的给定毫秒数内没有活动时,则会触发 'timeout' 事件。默认值:0(无超时)

¥The 'timeout' event is emitted when there is no activity on the Server for a given number of milliseconds set using http2server.setTimeout(). Default: 0 (no timeout)