![]() |
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 |
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. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default |
Public Attributes | |
QUrl | url |
QHttpHeaderParser | parser |
Public Attributes inherited from QSharedData | |
QAtomicInt | ref |
Definition at line 50 of file qhttpnetworkheader_p.h.
Definition at line 14 of file qhttpnetworkheader.cpp.
|
default |
void QHttpNetworkHeaderPrivate::clearHeaders | ( | ) |
Definition at line 65 of file qhttpnetworkheader.cpp.
qint64 QHttpNetworkHeaderPrivate::contentLength | ( | ) | const |
Definition at line 19 of file qhttpnetworkheader.cpp.
QByteArray QHttpNetworkHeaderPrivate::headerField | ( | QByteArrayView | name, |
const QByteArray & | defaultValue = QByteArray() ) const |
Definition at line 36 of file qhttpnetworkheader.cpp.
QList< QByteArray > QHttpNetworkHeaderPrivate::headerFieldValues | ( | QByteArrayView | name | ) | const |
Definition at line 45 of file qhttpnetworkheader.cpp.
QHttpHeaders QHttpNetworkHeaderPrivate::headers | ( | ) | const |
Definition at line 60 of file qhttpnetworkheader.cpp.
bool QHttpNetworkHeaderPrivate::operator== | ( | const QHttpNetworkHeaderPrivate & | other | ) | const |
Definition at line 70 of file qhttpnetworkheader.cpp.
void QHttpNetworkHeaderPrivate::prependHeaderField | ( | const QByteArray & | name, |
const QByteArray & | data ) |
Definition at line 55 of file qhttpnetworkheader.cpp.
Definition at line 31 of file qhttpnetworkheader.cpp.
void QHttpNetworkHeaderPrivate::setHeaderField | ( | const QByteArray & | name, |
const QByteArray & | data ) |
Definition at line 50 of file qhttpnetworkheader.cpp.
QHttpHeaderParser QHttpNetworkHeaderPrivate::parser |
Definition at line 54 of file qhttpnetworkheader_p.h.
QUrl QHttpNetworkHeaderPrivate::url |
Definition at line 53 of file qhttpnetworkheader_p.h.