QtBase
v6.3.1
|
Classes | |
struct | Frame |
class | FrameReader |
class | FrameWriter |
struct | Stream |
struct | PushPromise |
Functions | |
Frame | configurationToSettingsFrame (const QHttp2Configuration &config) |
QByteArray | settingsFrameToBase64 (const Frame &frame) |
void | appendProtocolUpgradeHeaders (const QHttp2Configuration &config, QHttpNetworkRequest *request) |
void | qt_error (quint32 errorCode, QNetworkReply::NetworkError &error, QString &errorMessage) |
QString | qt_error_string (quint32 errorCode) |
QNetworkReply::NetworkError | qt_error (quint32 errorCode) |
bool | is_protocol_upgraded (const QHttpNetworkReply &reply) |
const quint32 | lastValidStreamID ((quint32(1)<< 31) - 1) |
const qint32 | maxSessionReceiveWindowSize ((quint32(1)<< 31) - 1) |
Variables | |
const char | Http2clientPreface [clientPrefaceLength] |
const qint32 | qtDefaultStreamReceiveWindowSize = maxSessionReceiveWindowSize / maxConcurrentStreams |
|
strong |
Enumerator | |
---|---|
EMPTY | |
ACK | |
END_STREAM | |
END_HEADERS | |
PADDED | |
PRIORITY |
Definition at line 102 of file http2protocol_p.h.
|
strong |
Enumerator | |
---|---|
protocolError | |
sizeError | |
incompleteFrame | |
goodFrame |
Definition at line 159 of file http2protocol_p.h.
|
strong |
Enumerator | |
---|---|
DATA | |
HEADERS | |
PRIORITY | |
RST_STREAM | |
SETTINGS | |
PUSH_PROMISE | |
PING | |
GOAWAY | |
WINDOW_UPDATE | |
CONTINUATION | |
LAST_FRAME_TYPE |
Definition at line 83 of file http2protocol_p.h.
enum Http2::Http2Error |
Definition at line 167 of file http2protocol_p.h.
Enumerator | |
---|---|
clientPrefaceLength | |
connectionStreamID | |
frameHeaderSize | |
minPayloadLimit | |
maxPayloadSize | |
defaultSessionWindowSize | |
maxConcurrentStreams |
Definition at line 115 of file http2protocol_p.h.
|
strong |
Enumerator | |
---|---|
HEADER_TABLE_SIZE_ID | |
ENABLE_PUSH_ID | |
MAX_CONCURRENT_STREAMS_ID | |
INITIAL_WINDOW_SIZE_ID | |
MAX_FRAME_SIZE_ID | |
MAX_HEADER_LIST_SIZE_ID |
Definition at line 73 of file http2protocol_p.h.
void Http2::appendProtocolUpgradeHeaders | ( | const QHttp2Configuration & | config, |
QHttpNetworkRequest * | request | ||
) |
Definition at line 108 of file http2protocol.cpp.
struct Frame Http2::configurationToSettingsFrame | ( | const QHttp2Configuration & | config | ) |
Definition at line 69 of file http2protocol.cpp.
bool Http2::is_protocol_upgraded | ( | const QHttpNetworkReply & | reply | ) |
Definition at line 221 of file http2protocol.cpp.
QNetworkReply::NetworkError Http2::qt_error | ( | quint32 | errorCode | ) |
void Http2::qt_error | ( | quint32 | errorCode, |
QNetworkReply::NetworkError & | error, | ||
QString & | errorMessage | ||
) |
Definition at line 128 of file http2protocol.cpp.
QByteArray Http2::settingsFrameToBase64 | ( | const Frame & | frame | ) |
Definition at line 93 of file http2protocol.cpp.
const Q_AUTOTEST_EXPORT char Http2::Http2clientPreface |
Definition at line 63 of file http2protocol.cpp.
const qint32 Http2::qtDefaultStreamReceiveWindowSize = maxSessionReceiveWindowSize / maxConcurrentStreams |
Definition at line 151 of file http2protocol_p.h.