Http2Stream.rstCode - Node documentation
property Http2Stream.rstCode

Usage in Deno

import { type Http2Stream } from "node:http2";

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 beundefined if the Http2Stream has not been closed.

Type

number