Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qnetworkcookiejar.cpp File Reference
#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 (const QString &path, const QString &reference)
 
static bool isParentDomain (const QString &domain, const QString &reference)
 

Function Documentation

◆ isParentDomain()

static bool isParentDomain ( const QString domain,
const QString reference 
)
inlinestatic

Definition at line 134 of file qnetworkcookiejar.cpp.

References QString::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 ( const QString path,
const QString 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: