![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qnetworkreplywasmimpl_p.h>
Static Public Member Functions | |
| static void | setReplyAttributes (quintptr data, int statusCode, const QString &statusReason) |
| static void | downloadProgress (emscripten_fetch_t *fetch) |
| static void | downloadFailed (emscripten_fetch_t *fetch) |
| static void | downloadSucceeded (emscripten_fetch_t *fetch) |
| static void | stateChange (emscripten_fetch_t *fetch) |
| static QNetworkReply::NetworkError | statusCodeFromHttp (int httpStatusCode, const QUrl &url) |
| Static Public Member Functions inherited from QNetworkReplyPrivate | |
| static void | setManager (QNetworkReply *reply, QNetworkAccessManager *manager) |
| Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1, typename Func2> | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1, typename Func2> | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
| Static Public Member Functions inherited from QNetworkHeadersPrivate | |
| static QDateTime | fromHttpDate (QByteArrayView value) |
| static QByteArray | toHttpDate (const QDateTime &dt) |
| static std::optional< qint64 > | toInt (QByteArrayView value) |
| static QByteArray | fromCookieList (const NetworkCookieList &cookies) |
| static std::optional< NetworkCookieList > | toSetCookieList (const QList< QByteArray > &values) |
| static std::optional< NetworkCookieList > | toCookieList (const QList< QByteArray > &values) |
| static RawHeadersList | fromHttpToRaw (const QHttpHeaders &headers) |
| static QHttpHeaders | fromRawToHttp (const RawHeadersList &raw) |
Additional Inherited Members | |
| Public Types inherited from QNetworkReplyPrivate | |
| enum | State { Idle , Buffering , Working , Finished , Aborted } |
| Public Types inherited from QIODevicePrivate | |
| enum class | ReadLineOption { NotNullTerminated , NullTerminated } |
| enum | AccessMode : quint8 { Unset , Sequential , RandomAccess } |
| Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
| Public Types inherited from QNetworkHeadersPrivate | |
| typedef std::pair< QByteArray, QByteArray > | RawHeaderPair |
| typedef QList< RawHeaderPair > | RawHeadersList |
| typedef QHash< QNetworkRequest::KnownHeaders, QVariant > | CookedHeadersMap |
| typedef QHash< QNetworkRequest::Attribute, QVariant > | AttributesMap |
| typedef QList< QNetworkCookie > | NetworkCookieList |
| Static Public Attributes inherited from QNetworkReplyPrivate | |
| static const int | progressSignalInterval = 100 |
Definition at line 91 of file qnetworkreplywasmimpl_p.h.
| QNetworkReplyWasmImplPrivate::QNetworkReplyWasmImplPrivate | ( | ) |
Definition at line 59 of file qnetworkreplywasmimpl.cpp.
References QNetworkReplyWasmImplPrivate(), m_fetchContext, and managerPrivate.
Referenced by QNetworkReplyWasmImplPrivate().
| QNetworkReplyWasmImplPrivate::~QNetworkReplyWasmImplPrivate | ( | ) |
Definition at line 71 of file qnetworkreplywasmimpl.cpp.
References FetchContext::CANCELED, FetchContext::FINISHED, m_fetchContext, FetchContext::reply, FetchContext::SCHEDULED, FetchContext::SENT, FetchContext::state, and FetchContext::TO_BE_DESTROYED.
| void QNetworkReplyWasmImplPrivate::_q_bufferOutgoingData | ( | ) |
Definition at line 468 of file qnetworkreplywasmimpl.cpp.
Referenced by setup().
| void QNetworkReplyWasmImplPrivate::_q_bufferOutgoingDataFinished | ( | ) |
Definition at line 451 of file qnetworkreplywasmimpl.cpp.
References doSendRequest(), and state.
| void QNetworkReplyWasmImplPrivate::dataReceived | ( | const QByteArray & | buffer | ) |
Definition at line 356 of file qnetworkreplywasmimpl.cpp.
| void QNetworkReplyWasmImplPrivate::doSendRequest | ( | ) |
Definition at line 246 of file qnetworkreplywasmimpl.cpp.
References FetchContext::FetchContext(), m_fetchContext, outgoingData, and state.
Referenced by _q_bufferOutgoingDataFinished(), and setup().
|
static |
Definition at line 582 of file qnetworkreplywasmimpl.cpp.
References FetchContext::CANCELED, FetchContext::FINISHED, FetchContext::SENT, and FetchContext::TO_BE_DESTROYED.
|
static |
Definition at line 567 of file qnetworkreplywasmimpl.cpp.
|
static |
Definition at line 511 of file qnetworkreplywasmimpl.cpp.
References FetchContext::CANCELED, FetchContext::FINISHED, FetchContext::SENT, and FetchContext::TO_BE_DESTROYED.
Definition at line 345 of file qnetworkreplywasmimpl.cpp.
| void QNetworkReplyWasmImplPrivate::emitReplyError | ( | QNetworkReply::NetworkError | errorCode, |
| const QString & | errorString ) |
Definition at line 337 of file qnetworkreplywasmimpl.cpp.
| void QNetworkReplyWasmImplPrivate::headersReceived | ( | const QByteArray & | buffer | ) |
Definition at line 422 of file qnetworkreplywasmimpl.cpp.
| void QNetworkReplyWasmImplPrivate::setCanceled | ( | ) |
Definition at line 151 of file qnetworkreplywasmimpl.cpp.
References FetchContext::CANCELED, m_fetchContext, FetchContext::SCHEDULED, FetchContext::SENT, and FetchContext::state.
|
static |
Definition at line 232 of file qnetworkreplywasmimpl.cpp.
| void QNetworkReplyWasmImplPrivate::setReplyFinished | ( | ) |
Definition at line 537 of file qnetworkreplywasmimpl.cpp.
References state.
| void QNetworkReplyWasmImplPrivate::setStatusCode | ( | int | status, |
| const QByteArray & | statusText ) |
Definition at line 546 of file qnetworkreplywasmimpl.cpp.
| void QNetworkReplyWasmImplPrivate::setup | ( | QNetworkAccessManager::Operation | op, |
| const QNetworkRequest & | request, | ||
| QIODevice * | outgoingData ) |
Definition at line 199 of file qnetworkreplywasmimpl.cpp.
References _q_bufferOutgoingData(), doSendRequest(), outgoingData, and state.
|
static |
Definition at line 553 of file qnetworkreplywasmimpl.cpp.
|
static |
Definition at line 616 of file qnetworkreplywasmimpl.cpp.
| qint64 QNetworkReplyWasmImplPrivate::bytesBuffered |
Definition at line 119 of file qnetworkreplywasmimpl_p.h.
| qint64 QNetworkReplyWasmImplPrivate::bytesDownloaded |
Definition at line 118 of file qnetworkreplywasmimpl_p.h.
| QByteArray QNetworkReplyWasmImplPrivate::downloadBuffer |
Definition at line 125 of file qnetworkreplywasmimpl_p.h.
| qint64 QNetworkReplyWasmImplPrivate::downloadBufferCurrentSize |
Definition at line 122 of file qnetworkreplywasmimpl_p.h.
| qint64 QNetworkReplyWasmImplPrivate::downloadBufferReadPosition |
Definition at line 121 of file qnetworkreplywasmimpl_p.h.
| emscripten_fetch_t* QNetworkReplyWasmImplPrivate::m_fetch |
Definition at line 137 of file qnetworkreplywasmimpl_p.h.
| FetchContext* QNetworkReplyWasmImplPrivate::m_fetchContext |
Definition at line 138 of file qnetworkreplywasmimpl_p.h.
Referenced by QNetworkReplyWasmImplPrivate(), ~QNetworkReplyWasmImplPrivate(), doSendRequest(), and setCanceled().
| QNetworkAccessManagerPrivate* QNetworkReplyWasmImplPrivate::managerPrivate |
Definition at line 97 of file qnetworkreplywasmimpl_p.h.
Referenced by QNetworkReplyWasmImplPrivate().
| QIODevice* QNetworkReplyWasmImplPrivate::outgoingData |
Definition at line 127 of file qnetworkreplywasmimpl_p.h.
Referenced by doSendRequest(), and setup().
| std::shared_ptr<QRingBuffer> QNetworkReplyWasmImplPrivate::outgoingDataBuffer |
Definition at line 128 of file qnetworkreplywasmimpl_p.h.
| std::shared_ptr<QAtomicInt> QNetworkReplyWasmImplPrivate::pendingDownloadData |
Definition at line 115 of file qnetworkreplywasmimpl_p.h.
| std::shared_ptr<QAtomicInt> QNetworkReplyWasmImplPrivate::pendingDownloadProgress |
Definition at line 116 of file qnetworkreplywasmimpl_p.h.
| qint64 QNetworkReplyWasmImplPrivate::percentFinished |
Definition at line 124 of file qnetworkreplywasmimpl_p.h.
| State QNetworkReplyWasmImplPrivate::state |
Definition at line 111 of file qnetworkreplywasmimpl_p.h.
Referenced by _q_bufferOutgoingDataFinished(), doSendRequest(), setReplyFinished(), and setup().
| qint64 QNetworkReplyWasmImplPrivate::totalDownloadSize |
Definition at line 123 of file qnetworkreplywasmimpl_p.h.