![]() |
Qt 6.x
The Qt SDK
|
#include "qhttpthreaddelegate_p.h"
#include <QThread>
#include <QTimer>
#include <QAuthenticator>
#include <QEventLoop>
#include <QCryptographicHash>
#include "private/qhttpnetworkreply_p.h"
#include "private/qnetworkaccesscache_p.h"
#include "private/qnoncontiguousbytedevice_p.h"
#include "moc_qhttpthreaddelegate_p.cpp"
Go to the source code of this file.
Classes | |
class | QNetworkAccessCachedHttpConnection |
Functions | |
static QNetworkReply::NetworkError | statusCodeFromHttp (int httpStatusCode, const QUrl &url) |
static QByteArray | makeCacheKey (QUrl &url, QNetworkProxy *proxy, const QString &peerVerifyName) |
|
static |
Definition at line 92 of file qhttpthreaddelegate.cpp.
References copy(), QString::fromUtf8(), QUrl::FullyEncoded, QCryptographicHash::hash(), QNetworkProxy::hostName(), QNetworkProxy::HttpCachingProxy, QNetworkProxy::HttpProxy, QString::isEmpty(), isEncrypted(), QNetworkProxy::NoProxy, QNetworkProxy::password(), QNetworkProxy::port(), proxy, Q_UNUSED, QUrl::RemoveFragment, QUrl::RemovePath, QUrl::RemoveQuery, QUrl::RemoveUserInfo, QCryptographicHash::Sha1, QNetworkProxy::Socks5Proxy, QByteArray::toHex(), QString::toLatin1(), QString::toUtf8(), QNetworkProxy::type(), url, and QNetworkProxy::user().
Referenced by QHttpThreadDelegate::startRequest().
|
static |
Definition at line 21 of file qhttpthreaddelegate.cpp.
References QNetworkReply::AuthenticationRequiredError, QNetworkReply::ContentAccessDenied, QNetworkReply::ContentConflictError, QNetworkReply::ContentGoneError, QNetworkReply::ContentNotFoundError, QNetworkReply::ContentOperationNotPermittedError, QNetworkReply::InternalServerError, QNetworkReply::OperationNotImplementedError, QNetworkReply::ProtocolFailure, QNetworkReply::ProtocolInvalidOperationError, QNetworkReply::ProxyAuthenticationRequiredError, qPrintable, qWarning, QNetworkReply::ServiceUnavailableError, QUrl::toString(), QNetworkReply::UnknownContentError, QNetworkReply::UnknownServerError, and url.
Referenced by QHttpThreadDelegate::finishedSlot(), and QHttpThreadDelegate::synchronousFinishedSlot().