method TLSSocket.prototype.onceTLSSocket.prototype.once(event: string,listener: (...args: any[]) => void,): thisDeprecatedParametersevent: stringlistener: (...args: any[]) => voidReturn TypethisTLSSocket.prototype.once(event: "OCSPResponse",listener: (response: Buffer) => void,): thisDeprecatedParametersevent: "OCSPResponse"listener: (response: Buffer) => voidReturn TypethisTLSSocket.prototype.once(event: "secureConnect",listener: () => void,): thisDeprecatedParametersevent: "secureConnect"listener: () => voidReturn TypethisTLSSocket.prototype.once(event: "session",listener: (session: Buffer) => void,): thisDeprecatedParametersevent: "session"listener: (session: Buffer) => voidReturn TypethisTLSSocket.prototype.once(event: "keylog",listener: (line: Buffer) => void,): thisDeprecatedParametersevent: "keylog"listener: (line: Buffer) => voidReturn Typethis