'aborted' 事件


每当 Http2Stream 实例在通信中途异常中止时,就会触发 'aborted' 事件。 其监听器不需要任何参数。

只有在 Http2Stream 可写端尚未结束时才会触发 'aborted' 事件。

The 'aborted' event is emitted whenever a Http2Stream instance is abnormally aborted in mid-communication. Its listener does not expect any arguments.

The 'aborted' event will only be emitted if the Http2Stream writable side has not been ended.