'timeout' 事件


在使用 http2stream.setTimeout() 设置的毫秒数内没有收到此 Http2Stream 的活动后,则将触发 'timeout' 事件。 其监听器不需要任何参数。

The 'timeout' event is emitted after no activity is received for this Http2Stream within the number of milliseconds set using http2stream.setTimeout(). Its listener does not expect any arguments.