interface Http2SecureServer
Usage in Deno
import { type Http2SecureServer } from "node:http2";
addListener(event: "checkContinue",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
addListener(event: "request",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
addListener(event: "session",listener: (session: ServerHttp2Session) => void,): this
addListener(event: "sessionError",listener: (err: Error) => void,): this
addListener(event: "stream",listener: () => void,): this
addListener(event: "timeout",listener: () => void,): this
addListener(event: "unknownProtocol",listener: (socket: tls.TLSSocket) => void,): this
addListener(event: string | symbol,listener: (...args: any[]) => void,): this
emit(): boolean
emit(): boolean
emit(event: "session",session: ServerHttp2Session,): boolean
emit(event: "sessionError",err: Error,): boolean
emit(): boolean
emit(event: "timeout"): boolean
emit(event: "unknownProtocol",socket: tls.TLSSocket,): boolean
emit(event: string | symbol,...args: any[],): boolean
on(event: "checkContinue",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
on(event: "request",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
on(event: "session",listener: (session: ServerHttp2Session) => void,): this
on(event: "sessionError",listener: (err: Error) => void,): this
on(event: "stream",listener: () => void,): this
on(event: "timeout",listener: () => void,): this
on(event: "unknownProtocol",listener: (socket: tls.TLSSocket) => void,): this
on(event: string | symbol,listener: (...args: any[]) => void,): this
once(event: "checkContinue",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
once(event: "request",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
once(event: "session",listener: (session: ServerHttp2Session) => void,): this
once(event: "sessionError",listener: (err: Error) => void,): this
once(event: "stream",listener: () => void,): this
once(event: "timeout",listener: () => void,): this
once(event: "unknownProtocol",listener: (socket: tls.TLSSocket) => void,): this
once(event: string | symbol,listener: (...args: any[]) => void,): this
prependListener(event: "checkContinue",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
prependListener(event: "request",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
prependListener(event: "session",listener: (session: ServerHttp2Session) => void,): this
prependListener(event: "sessionError",listener: (err: Error) => void,): this
prependListener(event: "stream",listener: () => void,): this
prependListener(event: "timeout",listener: () => void,): this
prependListener(event: "unknownProtocol",listener: (socket: tls.TLSSocket) => void,): this
prependListener(event: string | symbol,listener: (...args: any[]) => void,): this
prependOnceListener(event: "checkContinue",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
prependOnceListener(event: "request",listener: (request: Http2ServerRequest,response: Http2ServerResponse,) => void,): this
prependOnceListener(event: "session",listener: (session: ServerHttp2Session) => void,): this
prependOnceListener(event: "sessionError",listener: (err: Error) => void,): this
prependOnceListener(event: "stream",listener: () => void,): this
prependOnceListener(event: "timeout",listener: () => void,): this
prependOnceListener(event: "unknownProtocol",listener: (socket: tls.TLSSocket) => void,): this
prependOnceListener(event: string | symbol,listener: (...args: any[]) => void,): this