Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
 
- 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
RawHeadersList::ConstIterator findRawHeader (QAnyStringView key) const
 
RawHeadersList allRawHeaders () const
 
QList< QByteArrayrawHeadersKeys () const
 
void setRawHeader (const QByteArray &key, const QByteArray &value)
 
void setAllRawHeaders (const RawHeadersList &list)
 
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
RawHeadersList rawHeaders
 
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 QPair< QByteArray, QByteArrayRawHeaderPair
 
typedef QList< RawHeaderPairRawHeadersList
 
typedef QHash< QNetworkRequest::KnownHeaders, QVariantCookedHeadersMap
 
typedef QHash< QNetworkRequest::Attribute, QVariantAttributesMap
 
- Static Public Member Functions inherited from QNetworkHeadersPrivate
static QDateTime fromHttpDate (const QByteArray &value)
 
static QByteArray toHttpDate (const QDateTime &dt)
 
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 426 of file qnetworkrequest.cpp.

Constructor & Destructor Documentation

◆ QNetworkRequestPrivate() [1/2]

QNetworkRequestPrivate::QNetworkRequestPrivate ( )
inline

Definition at line 430 of file qnetworkrequest.cpp.

◆ ~QNetworkRequestPrivate()

QNetworkRequestPrivate::~QNetworkRequestPrivate ( )
inline

Definition at line 437 of file qnetworkrequest.cpp.

◆ QNetworkRequestPrivate() [2/2]

QNetworkRequestPrivate::QNetworkRequestPrivate ( const QNetworkRequestPrivate & other)
inline

Definition at line 445 of file qnetworkrequest.cpp.

References other(), and url.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator==()

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

Definition at line 465 of file qnetworkrequest.cpp.

References QHttpHeadersHelper::compareStrict(), other(), and url.

+ Here is the call graph for this function:

Member Data Documentation

◆ maxRedirectCount

const int QNetworkRequestPrivate::maxRedirectCount = 50
static

Definition at line 429 of file qnetworkrequest.cpp.

◆ maxRedirectsAllowed

int QNetworkRequestPrivate::maxRedirectsAllowed

◆ peerVerifyName

QString QNetworkRequestPrivate::peerVerifyName

◆ priority

QNetworkRequest::Priority QNetworkRequestPrivate::priority

Definition at line 485 of file qnetworkrequest.cpp.

Referenced by QNetworkRequest::priority(), and QNetworkRequest::setPriority().

◆ sslConfiguration

QSslConfiguration* QNetworkRequestPrivate::sslConfiguration
mutable

◆ transferTimeout

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

Definition at line 496 of file qnetworkrequest.cpp.

◆ url


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