![]() |
Qt 6.x
The Qt SDK
|
#include <hpack_p.h>
Public Member Functions | |
Encoder (quint32 maxTableSize, bool compressStrings) | |
quint32 | dynamicTableSize () const |
bool | encodeRequest (class BitOStream &outputStream, const HttpHeader &header) |
bool | encodeResponse (BitOStream &outputStream, const HttpHeader &header) |
bool | encodeSizeUpdate (BitOStream &outputStream, quint32 newSize) |
void | setMaxDynamicTableSize (quint32 size) |
void | setCompressStrings (bool compress) |
HPack::Encoder::Encoder | ( | quint32 | maxTableSize, |
bool | compressStrings | ||
) |
quint32 HPack::Encoder::dynamicTableSize | ( | ) | const |
Definition at line 108 of file hpack.cpp.
References HPack::FieldLookupTable::dynamicDataSize().
bool HPack::Encoder::encodeRequest | ( | class BitOStream & | outputStream, |
const HttpHeader & | header | ||
) |
Definition at line 113 of file hpack.cpp.
References header(), qDebug, and QString::size().
bool HPack::Encoder::encodeResponse | ( | BitOStream & | outputStream, |
const HttpHeader & | header | ||
) |
Definition at line 134 of file hpack.cpp.
References header(), qDebug, and QString::size().
bool HPack::Encoder::encodeSizeUpdate | ( | BitOStream & | outputStream, |
quint32 | newSize | ||
) |
Definition at line 155 of file hpack.cpp.
References qDebug, HPack::FieldLookupTable::updateDynamicTableSize(), and HPack::BitOStream::write().
void HPack::Encoder::setCompressStrings | ( | bool | compress | ) |
Definition at line 175 of file hpack.cpp.
Referenced by QHttp2ProtocolHandler::QHttp2ProtocolHandler().
Definition at line 168 of file hpack.cpp.
References HPack::FieldLookupTable::setMaxDynamicTableSize().