4#ifndef QHTTPNETWORKREQUEST_H
5#define QHTTPNETWORKREQUEST_H
17#include <QtNetwork/private/qtnetworkglobal_p.h>
19#include <private/qhttpnetworkheader_p.h>
20#include <QtNetwork/qnetworkrequest.h>
78 void setCustomVerb(
const QByteArray &customOperation);
80 Priority priority()
const;
83 bool isPipeliningAllowed()
const;
84 void setPipeliningAllowed(
bool b);
86 bool isHTTP2Allowed()
const;
87 void setHTTP2Allowed(
bool b);
89 bool isHTTP2Direct()
const;
90 void setHTTP2Direct(
bool b);
92 bool isH2cAllowed()
const;
93 void setH2cAllowed(
bool b);
95 bool withCredentials()
const;
96 void setWithCredentials(
bool b);
101 bool isPreConnect()
const;
102 void setPreConnect(
bool preConnect);
104 bool isFollowRedirects()
const;
108 int redirectCount()
const;
109 void setRedirectCount(
int count);
117 QString peerVerifyName()
const;
118 void setPeerVerifyName(
const QString &peerName);
127 friend class QSpdyProtocolHandler;
~QHttpNetworkRequestPrivate()
bool operator==(const QHttpNetworkRequestPrivate &other) const
QHttpNetworkRequest::Priority priority
QNonContiguousByteDevice * uploadByteDevice
QNetworkRequest::RedirectPolicy redirectPolicy
bool needResendWithCredentials
QHttpNetworkRequest::Operation operation
static QByteArray header(const QHttpNetworkRequest &request, bool throughProxy)
\macro QT_RESTRICTED_CAST_FROM_ASCII
myinstance setPriority(MyClass::VeryHigh)
Combined button and popup list for selecting options.
static QString methodName(const QDBusIntrospection::Method &method)
GLboolean GLboolean GLboolean b
GLenum GLuint GLenum GLsizei length
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define Q_AUTOTEST_EXPORT
#define QT_REQUIRE_CONFIG(feature)
QUrl url("example.com")
[constructor-url-reference]
QNetworkRequest request(url)