6#include "private/http2protocol_p.h"
7#include "private/hpack_p.h"
180 qCWarning(QT_HTTP2) <<
"Invalid session window size";
209 qCWarning(QT_HTTP2) <<
"Invalid stream window size";
239 qCWarning(QT_HTTP2) <<
"Maximum frame size to advertise is invalid";
284 return d->pushEnabled ==
other.d->pushEnabled
285 &&
d->huffmanCompressionEnabled ==
other.d->huffmanCompressionEnabled
286 &&
d->sessionWindowSize ==
other.d->sessionWindowSize
287 &&
d->streamWindowSize ==
other.d->streamWindowSize;
bool huffmanCompressionEnabled
unsigned sessionWindowSize
unsigned streamWindowSize
The QHttp2Configuration class controls HTTP/2 parameters and settings.
QHttp2Configuration()
Default constructs a QHttp2Configuration object.
unsigned sessionReceiveWindowSize() const
Returns the window size for connection-level flow control.
unsigned streamReceiveWindowSize() const
Returns the window size for stream-level flow control.
bool setStreamReceiveWindowSize(unsigned size)
Sets the window size for stream-level flow control.
bool setSessionReceiveWindowSize(unsigned size)
Sets the window size for connection-level flow control.
void swap(QHttp2Configuration &other) noexcept
Swaps this configuration with the other configuration.
QHttp2Configuration & operator=(const QHttp2Configuration &other)
Copy-assigns other to this QHttp2Configuration.
bool serverPushEnabled() const
Returns true if server push was enabled.
unsigned maxFrameSize() const
Returns the maximum payload size that HTTP/2 frames can have.
bool huffmanCompressionEnabled() const
Returns true if the Huffman coding in HPACK is enabled.
bool setMaxFrameSize(unsigned size)
Sets the maximum frame size that QNetworkAccessManager will advertise to the server when sending its ...
void setServerPushEnabled(bool enable)
If enable is true, a remote server can potentially use server push to send responses in advance.
void setHuffmanCompressionEnabled(bool enable)
If enable is true, HPACK compression will additionally compress string using the Huffman coding.
@ defaultSessionWindowSize
const qint32 maxSessionReceiveWindowSize((quint32(1)<< 31) - 1)
Combined button and popup list for selecting options.
#define qCWarning(category,...)
GLenum GLuint GLintptr GLsizeiptr size
[1]