A custom cookie jar for managing HTTP cookies in RestLink.
More...
#include <cookiejar.h>
Inherits QNetworkCookieJar.
A custom cookie jar for managing HTTP cookies in RestLink.
This class extends QNetworkCookieJar to provide custom cookie handling for the RestLink network manager. It allows for advanced control over cookies in the HTTP requests and responses.
◆ CookieJar()
| RestLink::CookieJar::CookieJar |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructs a CookieJar with a specified parent.
Initializes the custom cookie jar. The parent object will be passed to the QNetworkCookieJar constructor to maintain proper ownership.
- Parameters
-
| parent | The parent object for this CookieJar. Defaults to nullptr. |
◆ ~CookieJar()
| RestLink::CookieJar::~CookieJar |
( |
| ) |
|
|
virtual |
◆ load()
| bool RestLink::CookieJar::load |
( |
| ) |
|
◆ save()
| bool RestLink::CookieJar::save |
( |
| ) |
|
◆ loadFromFile()
| bool RestLink::CookieJar::loadFromFile |
( |
const QString & |
fileName | ) |
|
◆ saveToFile()
| bool RestLink::CookieJar::saveToFile |
( |
const QString & |
fileName | ) |
const |
◆ loadFromDevice()
| bool RestLink::CookieJar::loadFromDevice |
( |
QIODevice * |
device | ) |
|
◆ saveToDevice()
| bool RestLink::CookieJar::saveToDevice |
( |
QIODevice * |
device | ) |
const |
◆ loadFromData()
| void RestLink::CookieJar::loadFromData |
( |
const QByteArray & |
data | ) |
|
◆ saveToData()
| void RestLink::CookieJar::saveToData |
( |
QByteArray * |
data | ) |
const |