Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
quint32 dynamicTableCapacity () const
quint32 maxDynamicTableCapacity () 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 103 of file hpack.cpp.

Member Function Documentation

◆ dynamicTableCapacity()

quint32 HPack::Encoder::dynamicTableCapacity ( ) const

Definition at line 114 of file hpack.cpp.

◆ dynamicTableSize()

quint32 HPack::Encoder::dynamicTableSize ( ) const

Definition at line 109 of file hpack.cpp.

◆ encodeRequest()

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

Definition at line 124 of file hpack.cpp.

◆ encodeResponse()

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

Definition at line 145 of file hpack.cpp.

◆ encodeSizeUpdate()

bool HPack::Encoder::encodeSizeUpdate ( BitOStream & outputStream,
quint32 newSize )

Definition at line 166 of file hpack.cpp.

◆ maxDynamicTableCapacity()

quint32 HPack::Encoder::maxDynamicTableCapacity ( ) const

Definition at line 119 of file hpack.cpp.

◆ setCompressStrings()

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

Definition at line 186 of file hpack.cpp.

◆ setMaxDynamicTableSize()

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

Definition at line 179 of file hpack.cpp.


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