4#ifndef QHTTPNETWORKCONNECTIONCHANNEL_H
5#define QHTTPNETWORKCONNECTIONCHANNEL_H
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19#include <QtNetwork/qnetworkrequest.h>
20#include <QtNetwork/qnetworkreply.h>
21#include <QtNetwork/qabstractsocket.h>
23#include <private/qobject_p.h>
28#include <private/qhttpnetworkheader_p.h>
29#include <private/qhttpnetworkrequest_p.h>
30#include <private/qhttpnetworkreply_p.h>
32#include <private/qhttpnetworkconnection_p.h>
33#include <private/qabstractprotocolhandler_p.h>
36# include <QtNetwork/qsslsocket.h>
37# include <QtNetwork/qsslerror.h>
38# include <QtNetwork/qsslconfiguration.h>
40# include <QtNetwork/qtcpsocket.h>
43#include <QtCore/qscopedpointer.h>
55#ifndef HttpMessagePair
125#ifndef QT_NO_NETWORKPROXY
160#ifndef QT_NO_NETWORKPROXY
The QAbstractSocket class provides the base functionality common to all socket types.
SocketError
This enum describes the socket errors that can occur.
The QAuthenticator class provides an authentication object.
bool isSocketReading() const
std::unique_ptr< QAbstractProtocolHandler > protocolHandler
QScopedPointer< QSslConfiguration > sslConfiguration
QAuthenticator proxyAuthenticator
bool isSocketWaiting() const
void setProxy(const QNetworkProxy &networkProxy)
void _q_preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *)
void requeueCurrentlyPipelinedRequests()
void setSslConfiguration(const QSslConfiguration &config)
QHttpNetworkConnectionChannel()
void handleUnexpectedEOF()
void sendRequestDelayed()
void _q_bytesWritten(qint64 bytes)
QAbstractSocket::NetworkLayerProtocol networkLayerPreference
bool proxyCredentialsSent
void closeAndResendCurrentRequest()
void emitFinishedWithError(QNetworkReply::NetworkError error, const char *message)
void pipelineInto(HttpMessagePair &pair)
void resendCurrentRequest()
void _q_uploadDataReadyRead()
void detectPipeliningSupport()
bool isSocketBusy() const
void _q_encryptedBytesWritten(qint64 bytes)
PipeliningSupport pipeliningSupported
QPointer< QHttpNetworkConnection > connection
QHttpNetworkReply * reply
bool isSocketWriting() const
QHttpNetworkRequest request
QMultiMap< int, HttpMessagePair > h2RequestsToSend
void _q_sslErrors(const QList< QSslError > &errors)
void setConnection(QHttpNetworkConnection *c)
@ PipeliningProbablySupported
@ PipeliningSupportUnknown
void requeueHttp2Requests()
QList< QSslError > ignoreSslErrorsList
bool authenticationCredentialsSent
QList< HttpMessagePair > alreadyPipelinedRequests
void _q_error(QAbstractSocket::SocketError)
void _q_proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *auth)
QAuthenticator authenticator
The QNetworkProxy class provides a network layer proxy.
NetworkError
Indicates all possible error conditions found during the processing of the request.
The QSslConfiguration class holds the configuration and state of an SSL connection.
The QSslPreSharedKeyAuthenticator class provides authentication data for pre shared keys (PSK) cipher...
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
DBusConnection const char DBusError * error
QPair< QHttpNetworkRequest, QHttpNetworkReply * > HttpMessagePair
GLuint GLsizei const GLchar * message
#define QT_REQUIRE_CONFIG(feature)