4#ifndef QHTTPNETWORKCONNECTION_H
5#define QHTTPNETWORKCONNECTION_H
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19#include <QtNetwork/qnetworkrequest.h>
20#include <QtNetwork/qnetworkreply.h>
21#include <QtNetwork/qabstractsocket.h>
25#include <private/qobject_p.h>
32#include <private/qhttpnetworkheader_p.h>
33#include <private/qhttpnetworkrequest_p.h>
34#include <private/qhttpnetworkreply_p.h>
35#include <private/qnetconmonitor_p.h>
36#include <private/http2protocol_p.h>
38#include <private/qhttpnetworkconnectionchannel_p.h>
63 ConnectionTypeHTTP2Direct
67 ConnectionType connectionType = ConnectionTypeHTTP,
71 ConnectionType connectionType = ConnectionTypeHTTP);
81 void fillHttp2Queue();
83#ifndef QT_NO_NETWORKPROXY
95 ConnectionType connectionType();
96 void setConnectionType(ConnectionType
type);
105 std::shared_ptr<QSslContext> sslContext();
106 void setSslContext(std::shared_ptr<QSslContext>
context);
109 void preConnectFinished();
111 QString peerVerifyName()
const;
112 void setPeerVerifyName(
const QString &peerName);
115 void onlineStateChanged(
bool isOnline);
165 void pauseConnection();
166 void resumeConnection();
170 enum { ChunkSize = 4096 };
176 void fillHttp2Queue();
189 void copyCredentials(
int fromChannel,
QAuthenticator *auth,
bool isProxy);
191 void startHostInfoLookup();
192 void startNetworkLayerStateLookup();
196 void _q_startNextRequest();
199 void _q_connectDelayedChannel();
235#ifndef QT_NO_NETWORKPROXY
IOBluetoothL2CAPChannel * channel
The QAbstractSocket class provides the base functionality common to all socket types.
The QAuthenticator class provides an authentication object.
The QHostInfo class provides static functions for host name lookups.
The QHttp2Configuration class controls HTTP/2 parameters and settings.
QHttpNetworkConnection::ConnectionType connectionType
static const int defaultHttpChannelCount
NetworkLayerPreferenceState
NetworkLayerPreferenceState networkLayerState
std::shared_ptr< QSslContext > sslContext
QHttpNetworkConnectionChannel * channels
static const int defaultRePipelineLength
QList< HttpMessagePair > lowPriorityQueue
QList< HttpMessagePair > highPriorityQueue
QTimer delayedConnectionTimer
QHttp2Configuration http2Parameters
QNetworkProxy networkProxy
static const int defaultPipelineLength
QNetworkConnectionMonitor connectionMonitor
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.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
QPair< QHttpNetworkRequest, QHttpNetworkReply * > HttpMessagePair
#define Q_AUTOTEST_EXPORT
#define QT_REQUIRE_CONFIG(feature)
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)
QFileInfo info(fileName)
[8]
QNetworkRequest request(url)
reply ignoreSslErrors(expectedSslErrors)
sslSocket setSslConfiguration(config)
QNetworkReply::NetworkError errorCode
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent