MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / get

Method get

LANServer/httpserver/httpsession.cpp:131–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131QVariant HttpSession::get(const QByteArray& key) const
132{
133 QVariant value;
134 if (dataPtr)
135 {
136 dataPtr->lock.lockForRead();
137 value=dataPtr->values.value(key);
138 dataPtr->lock.unlock();
139 }
140 return value;
141}
142
143bool HttpSession::contains(const QByteArray& key) const
144{

Callers 6

httpGetMethod · 0.45
onSubscriberRequestMethod · 0.45
onHttpPostMethod · 0.45
getActionMethod · 0.45
setArgMethod · 0.45
getServiceMethod · 0.45

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected