method Http2Session.emit
Usage in Deno
import { type Http2Session } from "node:http2";
Http2Session.emit(event: "frameError",frameType: number,errorCode: number,streamID: number,): boolean
Http2Session.emit(event: "goaway",errorCode: number,lastStreamID: number,opaqueData?: Buffer,): boolean