method ServerHttp2Session.emit Usage in Denoimport { type ServerHttp2Session } from "node:http2"; ServerHttp2Session.emit(event: "connect",session: ServerHttp2Session,socket: net.Socket | tls.TLSSocket,): boolean Parameters event: "connect" session: ServerHttp2Session socket: net.Socket | tls.TLSSocket Return Type boolean ServerHttp2Session.emit(event: "stream",stream: ServerHttp2Stream,headers: IncomingHttpHeaders,flags: number,): boolean Parameters event: "stream" stream: ServerHttp2Stream headers: IncomingHttpHeaders flags: number Return Type boolean ServerHttp2Session.emit(event: string | symbol,...args: any[],): boolean Parameters event: string | symbol ...args: any[] Return Type boolean