MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / onClientDisconnected

Method onClientDisconnected

sources/webserver/QtHttpServer.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void QtHttpServer::onClientDisconnected(void)
115{
116 if (QTcpSocket* sockClient = qobject_cast<QTcpSocket*> (sender()))
117 {
118 if (QtHttpClientWrapper* wrapper = m_socksClientsHash.value(sockClient, Q_NULLPTR))
119 {
120 emit clientDisconnected(wrapper->getGuid());
121 wrapper->deleteLater();
122 m_socksClientsHash.remove(sockClient);
123 }
124 }
125}
126
127void QtHttpServer::setUseSecure(const bool ssl)
128{

Callers

nothing calls this directly

Calls 2

getGuidMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected