method Server.prototype.once
Usage in Deno
import { Server } from "node:https";
Server.prototype.once(event: "keylog",listener: (line: Buffer,tlsSocket: tls.TLSSocket,) => void,): this
Server.prototype.once(event: "newSession",listener: (sessionId: Buffer,sessionData: Buffer,callback: (err: Error,resp: Buffer,) => void,) => void,): this
Server.prototype.once(event: "OCSPRequest",listener: (certificate: Buffer,issuer: Buffer,callback: (err: Error | null,resp: Buffer,) => void,) => void,): this
Server.prototype.once(event: "resumeSession",listener: (sessionId: Buffer,callback: (err: Error,sessionData: Buffer,) => void,) => void,): this
Server.prototype.once(event: "secureConnection",listener: (tlsSocket: tls.TLSSocket) => void,): this
Server.prototype.once(event: "tlsClientError",listener: (err: Error,tlsSocket: tls.TLSSocket,) => void,): this
Server.prototype.once(event: "connection",listener: (socket: Duplex) => void,): this
listener: (socket: Duplex) => void
this
Server.prototype.once(event: "checkContinue",listener: http.RequestListener<Request, Response>,): this
Server.prototype.once(event: "checkExpectation",listener: http.RequestListener<Request, Response>,): this
Server.prototype.once(event: "clientError",listener: (err: Error,socket: Duplex,) => void,): this
listener: (err: Error,socket: Duplex,) => void
this