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