cutelyst 4.3.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst::ProtoRequestHttp2 Class Referencefinal
Inheritance diagram for Cutelyst::ProtoRequestHttp2:

Public Member Functions

 ProtoRequestHttp2 (Cutelyst::Socket *sock, int bufferSize)
 
void resetData () override final
 
void setupNewConnection (Cutelyst::Socket *sock) override final
 
- Public Member Functions inherited from Cutelyst::ProtocolData
 ProtocolData (Socket *sock, int bufferSize)
 
virtual void socketDisconnected ()
 

Public Attributes

bool canPush
 
qint32 dataSent
 
QByteArray headersBuffer
 
HPackhpack
 
quint32 maxStreamId
 
quint32 pktsize
 
quint8 processing
 
qint32 settingsInitialWindowSize
 
quint32 settingsMaxFrameSize
 
quint32 stream_id
 
quint64 streamForContinuation
 
QHash< quint32, H2Stream * > streams
 
qint32 windowSize
 
- Public Attributes inherited from Cutelyst::ProtocolData
int buf_size
 
char * buffer
 
ParserState connState
 
qint64 contentLength
 
HeaderConnection headerConnection
 
bool headerHost
 
QIODeviceio
 
Socketsock
 
ProtocolDataupgradedFrom
 
bool X_Forwarded_For
 
bool X_Forwarded_Host
 
bool X_Forwarded_Proto
 

Additional Inherited Members

- Public Types inherited from Cutelyst::ProtocolData
enum class  HeaderConnection { NotSet , Keep , Close , Upgrade }
 
enum  ParserState { MethodLine , HeaderLine , ContentBody , H2Frames }
 

Detailed Description

Definition at line 61 of file protocolhttp2.h.

Constructor & Destructor Documentation

◆ ProtoRequestHttp2()

ProtoRequestHttp2::ProtoRequestHttp2 ( Cutelyst::Socket sock,
int  bufferSize 
)

Definition at line 833 of file protocolhttp2.cpp.

◆ ~ProtoRequestHttp2()

ProtoRequestHttp2::~ProtoRequestHttp2 ( )
override

Definition at line 838 of file protocolhttp2.cpp.

Member Function Documentation

◆ resetData()

void Cutelyst::ProtoRequestHttp2::resetData ( )
inlinefinaloverridevirtual

Reimplemented from Cutelyst::ProtocolData.

Definition at line 70 of file protocolhttp2.h.

◆ setupNewConnection()

void ProtoRequestHttp2::setupNewConnection ( Cutelyst::Socket sock)
finaloverridevirtual

Implements Cutelyst::ProtocolData.

Definition at line 842 of file protocolhttp2.cpp.

Member Data Documentation

◆ canPush

bool Cutelyst::ProtoRequestHttp2::canPush

Definition at line 111 of file protocolhttp2.h.

◆ dataSent

qint32 Cutelyst::ProtoRequestHttp2::dataSent

Definition at line 106 of file protocolhttp2.h.

◆ headersBuffer

QByteArray Cutelyst::ProtoRequestHttp2::headersBuffer

Definition at line 102 of file protocolhttp2.h.

◆ hpack

HPack* Cutelyst::ProtoRequestHttp2::hpack

Definition at line 103 of file protocolhttp2.h.

◆ maxStreamId

quint32 Cutelyst::ProtoRequestHttp2::maxStreamId

Definition at line 105 of file protocolhttp2.h.

◆ pktsize

quint32 Cutelyst::ProtoRequestHttp2::pktsize

Definition at line 100 of file protocolhttp2.h.

◆ processing

quint8 Cutelyst::ProtoRequestHttp2::processing

Definition at line 110 of file protocolhttp2.h.

◆ settingsInitialWindowSize

qint32 Cutelyst::ProtoRequestHttp2::settingsInitialWindowSize

Definition at line 108 of file protocolhttp2.h.

◆ settingsMaxFrameSize

quint32 Cutelyst::ProtoRequestHttp2::settingsMaxFrameSize

Definition at line 109 of file protocolhttp2.h.

◆ stream_id

quint32 Cutelyst::ProtoRequestHttp2::stream_id

Definition at line 99 of file protocolhttp2.h.

◆ streamForContinuation

quint64 Cutelyst::ProtoRequestHttp2::streamForContinuation

Definition at line 104 of file protocolhttp2.h.

◆ streams

QHash<quint32, H2Stream *> Cutelyst::ProtoRequestHttp2::streams

Definition at line 113 of file protocolhttp2.h.

◆ windowSize

qint32 Cutelyst::ProtoRequestHttp2::windowSize

Definition at line 107 of file protocolhttp2.h.