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
QHttpNetworkRequestPrivate Class Reference

#include <qhttpnetworkrequest_p.h>

Inheritance diagram for QHttpNetworkRequestPrivate:
Collaboration diagram for QHttpNetworkRequestPrivate:

Public Member Functions

 QHttpNetworkRequestPrivate (QHttpNetworkRequest::Operation op, QHttpNetworkRequest::Priority pri, const QUrl &newUrl=QUrl())
 QHttpNetworkRequestPrivate (const QHttpNetworkRequestPrivate &other)
 ~QHttpNetworkRequestPrivate ()
bool operator== (const QHttpNetworkRequestPrivate &other) const
Public Member Functions inherited from QHttpNetworkHeaderPrivate
 QHttpNetworkHeaderPrivate (const QUrl &newUrl=QUrl())
 QHttpNetworkHeaderPrivate (const QHttpNetworkHeaderPrivate &other)=default
qint64 contentLength () const
void setContentLength (qint64 length)
QByteArray headerField (QByteArrayView name, const QByteArray &defaultValue=QByteArray()) const
QList< QByteArrayheaderFieldValues (QByteArrayView name) const
void setHeaderField (const QByteArray &name, const QByteArray &data)
void prependHeaderField (const QByteArray &name, const QByteArray &data)
void clearHeaders ()
QHttpHeaders headers () const
bool operator== (const QHttpNetworkHeaderPrivate &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

Static Public Member Functions

static QByteArray header (const QHttpNetworkRequest &request, bool throughProxy)

Public Attributes

QHttpNetworkRequest::Operation operation
QByteArray customVerb
QString fullLocalServerName
QHttpNetworkRequest::Priority priority
QNonContiguousByteDeviceuploadByteDevice
bool autoDecompress
bool pipeliningAllowed
bool http2Allowed
bool http2Direct
bool h2cAllowed = false
bool withCredentials
bool ssl = false
bool preConnect
bool needResendWithCredentials = false
int redirectCount
QNetworkRequest::RedirectPolicy redirectPolicy
QString peerVerifyName
Public Attributes inherited from QHttpNetworkHeaderPrivate
QUrl url
QHttpHeaderParser parser
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

Definition at line 136 of file qhttpnetworkrequest_p.h.

Constructor & Destructor Documentation

◆ QHttpNetworkRequestPrivate() [1/2]

QT_BEGIN_NAMESPACE QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate ( QHttpNetworkRequest::Operation op,
QHttpNetworkRequest::Priority pri,
const QUrl & newUrl = QUrl() )

◆ QHttpNetworkRequestPrivate() [2/2]

QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate ( const QHttpNetworkRequestPrivate & other)

Definition at line 21 of file qhttpnetworkrequest.cpp.

References QHttpNetworkRequestPrivate(), autoDecompress, h2cAllowed, http2Allowed, http2Direct, needResendWithCredentials, pipeliningAllowed, preConnect, redirectCount, ssl, uploadByteDevice, and withCredentials.

Referenced by QHttpNetworkRequestPrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QHttpNetworkRequestPrivate()

QHttpNetworkRequestPrivate::~QHttpNetworkRequestPrivate ( )

Definition at line 43 of file qhttpnetworkrequest.cpp.

Member Function Documentation

◆ header()

QByteArray QHttpNetworkRequestPrivate::header ( const QHttpNetworkRequest & request,
bool throughProxy )
static

Definition at line 116 of file qhttpnetworkrequest.cpp.

◆ operator==()

bool QHttpNetworkRequestPrivate::operator== ( const QHttpNetworkRequestPrivate & other) const

Definition at line 47 of file qhttpnetworkrequest.cpp.

Member Data Documentation

◆ autoDecompress

bool QHttpNetworkRequestPrivate::autoDecompress

◆ customVerb

QByteArray QHttpNetworkRequestPrivate::customVerb

Definition at line 148 of file qhttpnetworkrequest_p.h.

◆ fullLocalServerName

QString QHttpNetworkRequestPrivate::fullLocalServerName

Definition at line 149 of file qhttpnetworkrequest_p.h.

◆ h2cAllowed

bool QHttpNetworkRequestPrivate::h2cAllowed = false

Definition at line 156 of file qhttpnetworkrequest_p.h.

Referenced by QHttpNetworkRequestPrivate().

◆ http2Allowed

bool QHttpNetworkRequestPrivate::http2Allowed

◆ http2Direct

bool QHttpNetworkRequestPrivate::http2Direct

◆ needResendWithCredentials

bool QHttpNetworkRequestPrivate::needResendWithCredentials = false

Definition at line 160 of file qhttpnetworkrequest_p.h.

Referenced by QHttpNetworkRequestPrivate().

◆ operation

QHttpNetworkRequest::Operation QHttpNetworkRequestPrivate::operation

Definition at line 147 of file qhttpnetworkrequest_p.h.

◆ peerVerifyName

QString QHttpNetworkRequestPrivate::peerVerifyName

Definition at line 163 of file qhttpnetworkrequest_p.h.

◆ pipeliningAllowed

bool QHttpNetworkRequestPrivate::pipeliningAllowed

◆ preConnect

bool QHttpNetworkRequestPrivate::preConnect

◆ priority

QHttpNetworkRequest::Priority QHttpNetworkRequestPrivate::priority

Definition at line 150 of file qhttpnetworkrequest_p.h.

◆ redirectCount

int QHttpNetworkRequestPrivate::redirectCount

◆ redirectPolicy

QNetworkRequest::RedirectPolicy QHttpNetworkRequestPrivate::redirectPolicy

Definition at line 162 of file qhttpnetworkrequest_p.h.

◆ ssl

bool QHttpNetworkRequestPrivate::ssl = false

Definition at line 158 of file qhttpnetworkrequest_p.h.

Referenced by QHttpNetworkRequestPrivate().

◆ uploadByteDevice

QNonContiguousByteDevice* QHttpNetworkRequestPrivate::uploadByteDevice
mutable

◆ withCredentials

bool QHttpNetworkRequestPrivate::withCredentials

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