http2stream.rstCode
- 类型:<number>
当 Http2Stream 在接收到来自连接端的 RST_STREAM 帧后被销毁,调用 http2stream.close() 或 http2stream.destroy() 后,将设置为报告的 RST_STREAM 错误代码。如果 Http2Stream 尚未关闭,则为 undefined。
【Set to the RST_STREAM error code reported when the Http2Stream is
destroyed after either receiving an RST_STREAM frame from the connected peer,
calling http2stream.close(), or http2stream.destroy(). Will be
undefined if the Http2Stream has not been closed.】