20 QHttp2Configuration();
21 QHttp2Configuration(
const QHttp2Configuration &other);
22 QHttp2Configuration(QHttp2Configuration &&other)
noexcept;
23 QHttp2Configuration &operator = (
const QHttp2Configuration &other);
24 QHttp2Configuration &operator = (QHttp2Configuration &&other)
noexcept;
26 ~QHttp2Configuration();
28 void setServerPushEnabled(
bool enable);
29 bool serverPushEnabled()
const;
31 void setHuffmanCompressionEnabled(
bool enable);
32 bool huffmanCompressionEnabled()
const;
34 bool setSessionReceiveWindowSize(
unsigned size);
35 unsigned sessionReceiveWindowSize()
const;
37 bool setStreamReceiveWindowSize(
unsigned size);
38 unsigned streamReceiveWindowSize()
const;
40 bool setMaxFrameSize(
unsigned size);
41 unsigned maxFrameSize()
const;
43 void setMaxConcurrentStreams(
unsigned value);
44 unsigned maxConcurrentStreams()
const;
46 void setMaxHeaderListSize(quint32 size);
47 quint32 maxHeaderListSize()
const;
49 void swap(QHttp2Configuration &other)
noexcept;
52 friend class QHttp2ConfigurationPrivate;
53 QSharedDataPointer<QHttp2ConfigurationPrivate> d;
55 bool isEqual(
const QHttp2Configuration &other)
const noexcept;
57 friend bool operator==(
const QHttp2Configuration &lhs,
const QHttp2Configuration &rhs)
noexcept
58 {
return lhs.isEqual(rhs); }
59 friend bool operator!=(
const QHttp2Configuration &lhs,
const QHttp2Configuration &rhs)
noexcept
60 {
return !lhs.isEqual(rhs); }