Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
HPack::Encoder Class Reference

#include <hpack_p.h>

+ Collaboration diagram for HPack::Encoder:

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)
 

Detailed Description

Definition at line 36 of file hpack_p.h.

Constructor & Destructor Documentation

◆ Encoder()

HPack::Encoder::Encoder ( quint32 maxTableSize,
bool compressStrings )

Definition at line 102 of file hpack.cpp.

Member Function Documentation

◆ dynamicTableSize()

quint32 HPack::Encoder::dynamicTableSize ( ) const

Definition at line 108 of file hpack.cpp.

References HPack::FieldLookupTable::dynamicDataSize().

+ Here is the call graph for this function:

◆ encodeRequest()

bool HPack::Encoder::encodeRequest ( class BitOStream & outputStream,
const HttpHeader & header )

Definition at line 113 of file hpack.cpp.

References header(), and qDebug.

+ Here is the call graph for this function:

◆ encodeResponse()

bool HPack::Encoder::encodeResponse ( BitOStream & outputStream,
const HttpHeader & header )

Definition at line 134 of file hpack.cpp.

References header(), and qDebug.

+ Here is the call graph for this function:

◆ encodeSizeUpdate()

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().

+ Here is the call graph for this function:

◆ setCompressStrings()

void HPack::Encoder::setCompressStrings ( bool compress)

Definition at line 175 of file hpack.cpp.

Referenced by QHttp2ProtocolHandler::QHttp2ProtocolHandler().

+ Here is the caller graph for this function:

◆ setMaxDynamicTableSize()

void HPack::Encoder::setMaxDynamicTableSize ( quint32 size)

Definition at line 168 of file hpack.cpp.

References HPack::FieldLookupTable::setMaxDynamicTableSize().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: