interface Http2SecureServer
Usage in Deno
import { type Http2SecureServer } from "node:http2";
Http1Request extends IncomingMessage = IncomingMessage
Http1Response extends ServerResponse = ServerResponse
Http2Request extends Http2ServerRequest = Http2ServerRequest
Http2Response extends Http2ServerResponse = Http2ServerResponse
addListener(event: "checkContinue",listener: (request: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
addListener(event: "request",listener: (request: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
addListener(event: "session",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>) => 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<Http1Request, Http1Response, Http2Request, Http2Response>,): 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: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
on(event: "request",listener: (request: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
on(event: "session",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>) => 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: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
once(event: "request",listener: (request: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
once(event: "session",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>) => 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: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
prependListener(event: "request",listener: (request: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
prependListener(event: "session",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>) => 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: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
prependOnceListener(event: "request",listener: (request: InstanceType<Http2Request>,response: InstanceType<Http2Response>,) => void,): this
prependOnceListener(event: "session",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>) => 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