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