MCPcopy Create free account
hub / github.com/deskflow/deskflow / checkSecureSocket

Method checkSecureSocket

src/lib/gui/core/CoreProcess.cpp:492–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492bool CoreProcess::checkSecureSocket(const QString &line)
493{
494 static const QString tlsCheckString = "network encryption protocol: ";
495 const auto index = line.indexOf(tlsCheckString, 0, Qt::CaseInsensitive);
496 if (index == -1) {
497 return false;
498 }
499
500 Q_EMIT secureSocket(true);
501 m_secureSocketVersion = line.mid(index + tlsCheckString.size());
502 return true;
503}
504
505#ifdef Q_OS_MACOS
506void CoreProcess::checkOSXNotification(const QString &line)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected