![]() |
Qt 6.x
The Qt SDK
|
#include <qhsts_p.h>
Collaboration diagram for QHstsCache:Public Member Functions | |
| void | updateFromHeaders (const QList< QPair< QByteArray, QByteArray > > &headers, const QUrl &url) |
| void | updateFromPolicies (const QList< QHstsPolicy > &hosts) |
| void | updateKnownHost (const QUrl &url, const QDateTime &expires, bool includeSubDomains) |
| bool | isKnownHost (const QUrl &url) const |
| void | clear () |
| QList< QHstsPolicy > | policies () const |
| bool QHstsCache::isKnownHost | ( | const QUrl & | url | ) | const |
Definition at line 132 of file qhsts.cpp.
References dot(), QUrl::host(), is_valid_domain_name(), QUrl::isValid(), pos, and url.
Referenced by QNetworkReplyHttpImplPrivate::onRedirected().
Here is the call graph for this function:
Here is the caller graph for this function:| QList< QHstsPolicy > QHstsCache::policies | ( | ) | const |
Definition at line 193 of file qhsts.cpp.
Referenced by updateFromPolicies().
Here is the caller graph for this function:| void QHstsCache::updateFromHeaders | ( | const QList< QPair< QByteArray, QByteArray > > & | headers, |
| const QUrl & | url | ||
| ) |
Definition at line 43 of file qhsts.cpp.
References QHstsHeaderParser::expirationDate(), QUrl::host(), QHstsHeaderParser::includeSubDomains(), QUrl::isValid(), QHstsHeaderParser::parse(), updateKnownHost(), and url.
Referenced by QNetworkReplyHttpImplPrivate::replyDownloadMetaData().
Here is the call graph for this function:
Here is the caller graph for this function:| void QHstsCache::updateFromPolicies | ( | const QList< QHstsPolicy > & | hosts | ) |
Definition at line 59 of file qhsts.cpp.
References policies(), policy, QList< T >::size(), and updateKnownHost().
Here is the call graph for this function:| void QHstsCache::updateKnownHost | ( | const QUrl & | url, |
| const QDateTime & | expires, | ||
| bool | includeSubDomains | ||
| ) |
Definition at line 74 of file qhsts.cpp.
References QUrl::host(), QUrl::isValid(), updateKnownHost(), and url.
Referenced by updateFromHeaders(), updateFromPolicies(), and updateKnownHost().
Here is the call graph for this function:
Here is the caller graph for this function: