Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QNetworkRequestPrivate Class Reference

\variable QNetworkRequest::DefaultTransferTimeout More...

Inheritance diagram for QNetworkRequestPrivate:
Collaboration diagram for QNetworkRequestPrivate:

Public Member Functions

 QNetworkRequestPrivate ()
 ~QNetworkRequestPrivate ()
 QNetworkRequestPrivate (const QNetworkRequestPrivate &other)
bool operator== (const QNetworkRequestPrivate &other) const
 QNetworkRequestPrivate ()
 ~QNetworkRequestPrivate ()
 QNetworkRequestPrivate (const QNetworkRequestPrivate &other)
bool operator== (const QNetworkRequestPrivate &other) const
Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
QSharedDataoperator= (const QSharedData &)=delete
 ~QSharedData ()=default
Public Member Functions inherited from QNetworkHeadersPrivate
const RawHeadersListallRawHeaders () const
QList< QByteArrayrawHeadersKeys () const
QByteArray rawHeader (QAnyStringView headerName) const
void setRawHeader (const QByteArray &key, const QByteArray &value)
void setCookedHeader (QNetworkRequest::KnownHeaders header, const QVariant &value)
QHttpHeaders headers () const
void setHeaders (const QHttpHeaders &newHeaders)
void setHeaders (QHttpHeaders &&newHeaders)
void setHeader (QHttpHeaders::WellKnownHeader name, QByteArrayView value)
void clearHeaders ()

Public Attributes

QUrl url
QNetworkRequest::Priority priority
QSslConfigurationsslConfiguration
int maxRedirectsAllowed
QString peerVerifyName
std::chrono::milliseconds transferTimeout = 0ms
Public Attributes inherited from QSharedData
QAtomicInt ref
Public Attributes inherited from QNetworkHeadersPrivate
struct { 
   RawHeadersList   headersList 
   bool   isCached = false 
rawHeaderCache
QHttpHeaders httpHeaders
CookedHeadersMap cookedHeaders
AttributesMap attributes
QPointer< QObjectoriginatingObject

Static Public Attributes

static const int maxRedirectCount = 50

Additional Inherited Members

Public Types inherited from QNetworkHeadersPrivate
typedef std::pair< QByteArray, QByteArrayRawHeaderPair
typedef QList< RawHeaderPairRawHeadersList
typedef QHash< QNetworkRequest::KnownHeaders, QVariantCookedHeadersMap
typedef QHash< QNetworkRequest::Attribute, QVariantAttributesMap
typedef QList< QNetworkCookieNetworkCookieList
Static Public Member Functions inherited from QNetworkHeadersPrivate
static QDateTime fromHttpDate (QByteArrayView value)
static QByteArray toHttpDate (const QDateTime &dt)
static std::optional< qint64toInt (QByteArrayView value)
static QByteArray fromCookieList (const NetworkCookieList &cookies)
static std::optional< NetworkCookieListtoSetCookieList (const QList< QByteArray > &values)
static std::optional< NetworkCookieListtoCookieList (const QList< QByteArray > &values)
static RawHeadersList fromHttpToRaw (const QHttpHeaders &headers)
static QHttpHeaders fromRawToHttp (const RawHeadersList &raw)

Detailed Description

\variable QNetworkRequest::DefaultTransferTimeout

The transfer timeout with \l {QNetworkRequest::TransferTimeoutConstant} milliseconds. Used if setTransferTimeout() is called without an argument.

Definition at line 442 of file qnetworkrequest.cpp.

Constructor & Destructor Documentation

◆ QNetworkRequestPrivate() [1/4]

QNetworkRequestPrivate::QNetworkRequestPrivate ( )
inline

Definition at line 446 of file qnetworkrequest.cpp.

◆ ~QNetworkRequestPrivate() [1/2]

QNetworkRequestPrivate::~QNetworkRequestPrivate ( )
inline

Definition at line 453 of file qnetworkrequest.cpp.

◆ QNetworkRequestPrivate() [2/4]

QNetworkRequestPrivate::QNetworkRequestPrivate ( const QNetworkRequestPrivate & other)
inline

Definition at line 461 of file qnetworkrequest.cpp.

◆ QNetworkRequestPrivate() [3/4]

QNetworkRequestPrivate::QNetworkRequestPrivate ( )
inline

Definition at line 446 of file qnetworkrequest.cpp.

◆ ~QNetworkRequestPrivate() [2/2]

QNetworkRequestPrivate::~QNetworkRequestPrivate ( )
inline

Definition at line 453 of file qnetworkrequest.cpp.

◆ QNetworkRequestPrivate() [4/4]

QNetworkRequestPrivate::QNetworkRequestPrivate ( const QNetworkRequestPrivate & other)
inline

Definition at line 461 of file qnetworkrequest.cpp.

Member Function Documentation

◆ operator==() [1/2]

bool QNetworkRequestPrivate::operator== ( const QNetworkRequestPrivate & other) const
inline

Definition at line 481 of file qnetworkrequest.cpp.

◆ operator==() [2/2]

bool QNetworkRequestPrivate::operator== ( const QNetworkRequestPrivate & other) const
inline

Definition at line 481 of file qnetworkrequest.cpp.

Member Data Documentation

◆ maxRedirectCount

const int QNetworkRequestPrivate::maxRedirectCount = 50
static

Definition at line 445 of file qnetworkrequest.cpp.

◆ maxRedirectsAllowed

int QNetworkRequestPrivate::maxRedirectsAllowed

Definition at line 504 of file qnetworkrequest.cpp.

◆ peerVerifyName

QString QNetworkRequestPrivate::peerVerifyName

Definition at line 505 of file qnetworkrequest.cpp.

◆ priority

QNetworkRequest::Priority QNetworkRequestPrivate::priority

Definition at line 500 of file qnetworkrequest.cpp.

◆ sslConfiguration

QSslConfiguration * QNetworkRequestPrivate::sslConfiguration
mutable

Definition at line 502 of file qnetworkrequest.cpp.

◆ transferTimeout

std::chrono::milliseconds QNetworkRequestPrivate::transferTimeout = 0ms

Definition at line 511 of file qnetworkrequest.cpp.

◆ url

QUrl QNetworkRequestPrivate::url

Definition at line 499 of file qnetworkrequest.cpp.


The documentation for this class was generated from the following file: