![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qhttpnetworkheader_p.h>
Public Member Functions | |
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< QByteArray > | headerFieldValues (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 |
![]() | |
QSharedData () noexcept | |
Constructs a QSharedData object with a reference count of 0. | |
QSharedData (const QSharedData &) noexcept | |
Constructs a QSharedData object with reference count 0. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default | |
Public Attributes | |
QUrl | url |
QHttpHeaderParser | parser |
![]() | |
QAtomicInt | ref |
Definition at line 49 of file qhttpnetworkheader_p.h.
Definition at line 13 of file qhttpnetworkheader.cpp.
|
default |
void QHttpNetworkHeaderPrivate::clearHeaders | ( | ) |
Definition at line 64 of file qhttpnetworkheader.cpp.
qint64 QHttpNetworkHeaderPrivate::contentLength | ( | ) | const |
Definition at line 18 of file qhttpnetworkheader.cpp.
QByteArray QHttpNetworkHeaderPrivate::headerField | ( | QByteArrayView | name, |
const QByteArray & | defaultValue = QByteArray() ) const |
Definition at line 35 of file qhttpnetworkheader.cpp.
QList< QByteArray > QHttpNetworkHeaderPrivate::headerFieldValues | ( | QByteArrayView | name | ) | const |
Definition at line 44 of file qhttpnetworkheader.cpp.
QHttpHeaders QHttpNetworkHeaderPrivate::headers | ( | ) | const |
Definition at line 59 of file qhttpnetworkheader.cpp.
bool QHttpNetworkHeaderPrivate::operator== | ( | const QHttpNetworkHeaderPrivate & | other | ) | const |
Definition at line 69 of file qhttpnetworkheader.cpp.
void QHttpNetworkHeaderPrivate::prependHeaderField | ( | const QByteArray & | name, |
const QByteArray & | data ) |
Definition at line 54 of file qhttpnetworkheader.cpp.
Definition at line 30 of file qhttpnetworkheader.cpp.
void QHttpNetworkHeaderPrivate::setHeaderField | ( | const QByteArray & | name, |
const QByteArray & | data ) |
Definition at line 49 of file qhttpnetworkheader.cpp.
QHttpHeaderParser QHttpNetworkHeaderPrivate::parser |
Definition at line 53 of file qhttpnetworkheader_p.h.
QUrl QHttpNetworkHeaderPrivate::url |
Definition at line 52 of file qhttpnetworkheader_p.h.