method Http2Stream.once
Usage in Deno
import { type Http2Stream } from "node:http2";
Http2Stream.once(event: "frameError",listener: (frameType: number,errorCode: number,) => void,): this
Http2Stream.once(event: "trailers",listener: (trailers: IncomingHttpHeaders,flags: number,) => void,): this
listener: (trailers: IncomingHttpHeaders,flags: number,) => void
this