6#ifndef SWIFT_CORE_COOKIEMANAGER_H
7#define SWIFT_CORE_COOKIEMANAGER_H
10#include <QNetworkCookieJar>
12#include <QReadWriteLock>
bool updateCookie(const QNetworkCookie &cookie)
bool setCookiesFromUrl(const QList< QNetworkCookie > &cookies, const QUrl &url)
CCookieManager(QObject *parent=nullptr)
Constructor.
QList< QNetworkCookie > cookiesForUrl(const QUrl &url) const
bool insertCookie(const QNetworkCookie &cookie)
void deleteAllCookies()
Delete all cookies.
bool deleteCookie(const QNetworkCookie &cookie)
Backend services of the swift project, like dealing with the network or the simulators.
QNetworkCookieJar(QObject *parent)
QObject * parent() const const
#define SWIFT_CORE_EXPORT
Export a class or function from the library.