method TLSSocket.prototype.emitTLSSocket.prototype.emit(event: string | symbol,...args: any[],): booleanDeprecatedParametersevent: string | symbol<span>...args</span>: any[]Return TypebooleanTLSSocket.prototype.emit(event: "OCSPResponse",response: Buffer,): booleanDeprecatedParametersevent: "OCSPResponse"response: BufferReturn TypebooleanTLSSocket.prototype.emit(event: "secureConnect"): booleanDeprecatedParametersevent: "secureConnect"Return TypebooleanTLSSocket.prototype.emit(event: "session",session: Buffer,): booleanDeprecatedParametersevent: "session"session: BufferReturn TypebooleanTLSSocket.prototype.emit(event: "keylog",line: Buffer,): booleanDeprecatedParametersevent: "keylog"line: BufferReturn Typeboolean