QNetworkCookie

#include <QtNetwork/QNetworkCookie>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNetworkCookie


Overview

Public Types Index

enum RawForm

NameAndValueOnly, Full

Public Functions Index

QNetworkCookie (const QByteArray &name=QByteArray(), const QByteArray &value=QByteArray())
QNetworkCookie (const QNetworkCookie &other)
~QNetworkCookie ()
QStringdomain () const
QDateTimeexpirationDate () const
boolisHttpOnly () const
boolisSecure () const
boolisSessionCookie () const
QByteArrayname () const
booloperator!= (const QNetworkCookie &other) const
QNetworkCookie &operator= (const QNetworkCookie &other)
booloperator== (const QNetworkCookie &other) const
QStringpath () const
voidsetDomain (const QString &domain)
voidsetExpirationDate (const QDateTime &date)
voidsetHttpOnly (bool enable)
voidsetName (const QByteArray &cookieName)
voidsetPath (const QString &path)
voidsetSecure (bool enable)
voidsetValue (const QByteArray &value)
QByteArraytoRawForm (RawForm form=Full) const
QByteArrayvalue () const

Static Public Functions Index

QList< QNetworkCookie >parseCookies (const QByteArray &cookieString)

Public Types

RawForm

NameAndValueOnly
Full

Public Functions

QNetworkCookie (

QNetworkCookie (

~QNetworkCookie ()

Destructor.

QString domain ()

QDateTime expirationDate ()

bool isHttpOnly ()

bool isSecure ()

bool isSessionCookie ()

QByteArray name ()

bool operator!= (

QNetworkCookie & operator= (

bool operator== (

QString path ()

void setDomain (

void setExpirationDate (

void setHttpOnly (
  • boolenable)

void setName (

void setPath (

void setSecure (
  • boolenable)

void setValue (

QByteArray toRawForm (
  • RawFormform)

QByteArray value ()

Static Public Functions

QList< QNetworkCookie > parseCookies (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus