4#ifndef QHTTP1CONFIGURATION_H
5#define QHTTP1CONFIGURATION_H
7#include <QtNetwork/qtnetworkglobal.h>
16class QHttp1ConfigurationPrivate;
34 { std::swap(u,
other.u); }
38 std::uint8_t numConnectionsPerHost;
39 char reserved[
sizeof(
void*) -
sizeof(numConnectionsPerHost)];
43 QHttp1ConfigurationPrivate *
d;
48 Q_NETWORK_EXPORT
size_t hash(
size_t seed)
const noexcept;
51 {
return lhs.equals(rhs); }
53 {
return !lhs.equals(rhs); }
The QHttp1Configuration class controls HTTP/1 parameters and settings.
Q_NETWORK_EXPORT QHttp1Configuration(const QHttp1Configuration &other)
Copy-constructs this QHttp1Configuration.
Q_NETWORK_EXPORT QHttp1Configuration()
Default constructs a QHttp1Configuration object.
friend bool operator==(const QHttp1Configuration &lhs, const QHttp1Configuration &rhs) noexcept
QHttp1Configuration(QHttp1Configuration &&other) noexcept
Move-constructs this QHttp1Configuration from other.
Q_NETWORK_EXPORT void setNumberOfConnectionsPerHost(qsizetype amount)
Sets the number of connections (minimum: 1; maximum: 255) used per http(s) {host}:{port} combination ...
friend bool operator!=(const QHttp1Configuration &lhs, const QHttp1Configuration &rhs) noexcept
friend size_t qHash(const QHttp1Configuration &key, size_t seed=0) noexcept
Q_NETWORK_EXPORT QHttp1Configuration & operator=(const QHttp1Configuration &other)
Copy-assigns other to this QHttp1Configuration.
Q_NETWORK_EXPORT qsizetype numberOfConnectionsPerHost() const
Returns the number of connections used per http(s) {host}:{port} combination.
QHash< int, QWidget * > hash
[35multi]
Combined button and popup list for selecting options.
QDateTimePrivate::QDateTimeShortData ShortData
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
#define QT_REQUIRE_CONFIG(feature)