Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qnetworkcookiejar.cpp File Reference

(11a68f13e9699206309a9ec82e7acab0b8a3a40e)

#include "qnetworkcookiejar.h"
#include "qnetworkcookiejar_p.h"
#include "QtNetwork/qnetworkcookie.h"
#include "QtCore/qurl.h"
#include "QtCore/qdatetime.h"
#include "moc_qnetworkcookiejar.cpp"
+ Include dependency graph for qnetworkcookiejar.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE bool qIsEffectiveTLD (QStringView domain)
 
static bool isParentPath (QStringView path, QStringView reference)
 
static bool isParentDomain (QStringView domain, QStringView reference)
 

Function Documentation

◆ isParentDomain()

static bool isParentDomain ( QStringView domain,
QStringView reference )
inlinestatic

Definition at line 134 of file qnetworkcookiejar.cpp.

References QStringView::endsWith(), and QStringView::mid().

Referenced by QNetworkCookieJar::cookiesForUrl(), and QNetworkCookieJar::validateCookie().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isParentPath()

static bool isParentPath ( QStringView path,
QStringView reference )
inlinestatic

Definition at line 115 of file qnetworkcookiejar.cpp.

Referenced by QNetworkCookieJar::cookiesForUrl().

+ Here is the caller graph for this function:

◆ qIsEffectiveTLD()

static QT_BEGIN_NAMESPACE bool qIsEffectiveTLD ( QStringView domain)
static

Definition at line 14 of file qnetworkcookiejar.cpp.

References QStringView::contains().

Referenced by QNetworkCookieJar::cookiesForUrl(), and QNetworkCookieJar::validateCookie().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: