6#ifndef CUTELYST_COOKIE_H
7#define CUTELYST_COOKIE_H
9#include <Cutelyst/cutelyst_global.h>
11#include <QNetworkCookie>
87 bool operator==(
const Cookie &other)
const;
97 SameSite sameSitePolicy()
const;
101 void setSameSitePolicy(SameSite sameSite);
108 QByteArray toRawForm(RawForm form = Full)
const;
118#ifndef QT_NO_DEBUG_STREAM
Cookie(const QByteArray &name=QByteArray(), const QByteArray &value=QByteArray())
Create a new Cookie object, initializing the cookie name to name and its value to value.
~Cookie()
Destroys this Cookie object.
void swap(Cookie &other) noexcept
Swaps this cookie with other.
Cookie & operator=(Cookie &&other) noexcept
Move assigns the contents of the Cookie object other to this object.
bool operator!=(const Cookie &other) const
Returns true if this cookie is not equal to other.
The Cutelyst namespace holds all public Cutelyst API.
QDebug & operator<<(QChar t)
QNetworkCookie(const QByteArray &name, const QByteArray &value)
void swap(QNetworkCookie &other)