method ClientHttp2Session.prependOnceListener
Usage in Deno
import { type ClientHttp2Session } from "node:http2";
ClientHttp2Session.prependOnceListener(event: "altsvc",listener: (alt: string,origin: string,stream: number,) => void,): this
ClientHttp2Session.prependOnceListener(event: "origin",listener: (origins: string[]) => void,): this
ClientHttp2Session.prependOnceListener(event: "connect",listener: (session: ClientHttp2Session,socket: net.Socket | tls.TLSSocket,) => void,): this
listener: (session: ClientHttp2Session,socket: net.Socket | tls.TLSSocket,) => void
this