¥Event: 'timeout'
新增于: v8.4.0
当服务器上在使用 http2secureServer.setTimeout()
设置的给定毫秒数内没有活动时,则会触发 'timeout'
事件。默认值:2 分钟。
¥The 'timeout'
event is emitted when there is no activity on the Server for
a given number of milliseconds set using http2secureServer.setTimeout()
.
Default: 2 minutes.