method Server.prototype.once
Usage in Deno
import { Server } from "node:tls";
Server.prototype.once(event: "tlsClientError",listener: (err: Error,tlsSocket: TLSSocket,) => void,): this
listener: (err: Error,tlsSocket: TLSSocket,) => void
this
Server.prototype.once(event: "newSession",listener: (sessionId: Buffer,sessionData: Buffer,callback: () => 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 | null,sessionData: Buffer | null,) => void,) => void,): this