![]() |
cutelyst 5.0.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
|

Public Member Functions | |
| ProtocolHttp2 (Server *server) | |
| ProtocolData * | createData (Cutelyst::Socket *sock) const override final |
| void | parse (Cutelyst::Socket *sock, QIODevice *io) const override final |
| int | parseData (ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| int | parseHeaders (ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| int | parsePing (const ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| int | parsePriority (const ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| int | parseRstStream (ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| int | parseSettings (ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| int | parseWindowUpdate (ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const |
| void | queueStream (Cutelyst::Socket *socket, H2Stream *stream) const |
| int | sendData (QIODevice *io, quint32 streamId, qint32 flags, const char *data, qint32 dataLen) const |
| int | sendFrame (QIODevice *io, quint8 type, quint8 flags=0, quint32 streamId=0, const char *data=nullptr, qint32 dataLen=0) const |
| int | sendGoAway (QIODevice *io, quint32 lastStreamId, quint32 error) const |
| int | sendPing (QIODevice *io, quint8 flags, const char *data=nullptr, qint32 dataLen=0) const |
| int | sendRstStream (QIODevice *io, quint32 streamId, quint32 error) const |
| int | sendSettings (QIODevice *io, const std::vector< std::pair< quint16, quint32 > > &settings) const |
| int | sendSettingsAck (QIODevice *io) const |
| Type | type () const override |
| bool | upgradeH2C (Cutelyst::Socket *socket, QIODevice *io, const Cutelyst::EngineRequest &request) |
Public Member Functions inherited from Cutelyst::Protocol | |
| Protocol (const Server *server) | |
| QIODevice * | createBody (qint64 contentLength) const |
Public Attributes | |
| qint32 | m_headerTableSize |
| quint32 | m_maxFrameSize |
Public Attributes inherited from Cutelyst::Protocol | |
| int | m_bufferSize |
| char * | m_postBuffer |
| qint64 | m_postBuffering |
| qint64 | m_postBufferSize |
| bool const | useStats |
Additional Inherited Members | |
Public Types inherited from Cutelyst::Protocol | |
| enum class | Type { Unknown , Http11 , Http11Websocket , Http2 , FastCGI1 } |
Definition at line 115 of file protocolhttp2.h.
|
explicit |
Definition at line 96 of file protocolhttp2.cpp.
|
override |
Definition at line 112 of file protocolhttp2.cpp.
|
finaloverridevirtual |
Implements Cutelyst::Protocol.
Definition at line 275 of file protocolhttp2.cpp.
|
finaloverridevirtual |
Implements Cutelyst::Protocol.
Definition at line 121 of file protocolhttp2.cpp.
| int ProtocolHttp2::parseData | ( | ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 333 of file protocolhttp2.cpp.
| int ProtocolHttp2::parseHeaders | ( | ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 388 of file protocolhttp2.cpp.
| int ProtocolHttp2::parsePing | ( | const ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 545 of file protocolhttp2.cpp.
| int ProtocolHttp2::parsePriority | ( | const ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 513 of file protocolhttp2.cpp.
| int ProtocolHttp2::parseRstStream | ( | ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 562 of file protocolhttp2.cpp.
| int ProtocolHttp2::parseSettings | ( | ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 280 of file protocolhttp2.cpp.
| int ProtocolHttp2::parseWindowUpdate | ( | ProtoRequestHttp2 * | request, |
| QIODevice * | io, | ||
| const H2Frame & | fr | ||
| ) | const |
Definition at line 596 of file protocolhttp2.cpp.
| void ProtocolHttp2::queueStream | ( | Cutelyst::Socket * | socket, |
| H2Stream * | stream | ||
| ) | const |
Definition at line 777 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendData | ( | QIODevice * | io, |
| quint32 | streamId, | ||
| qint32 | flags, | ||
| const char * | data, | ||
| qint32 | dataLen | ||
| ) | const |
Definition at line 710 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendFrame | ( | QIODevice * | io, |
| quint8 | type, | ||
| quint8 | flags = 0, |
||
| quint32 | streamId = 0, |
||
| const char * | data = nullptr, |
||
| qint32 | dataLen = 0 |
||
| ) | const |
Definition at line 739 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendGoAway | ( | QIODevice * | io, |
| quint32 | lastStreamId, | ||
| quint32 | error | ||
| ) | const |
Definition at line 650 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendPing | ( | QIODevice * | io, |
| quint8 | flags, | ||
| const char * | data = nullptr, |
||
| qint32 | dataLen = 0 |
||
| ) | const |
Definition at line 705 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendRstStream | ( | QIODevice * | io, |
| quint32 | streamId, | ||
| quint32 | error | ||
| ) | const |
Definition at line 669 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendSettings | ( | QIODevice * | io, |
| const std::vector< std::pair< quint16, quint32 > > & | settings | ||
| ) | const |
Definition at line 684 of file protocolhttp2.cpp.
| int ProtocolHttp2::sendSettingsAck | ( | QIODevice * | io | ) | const |
Definition at line 700 of file protocolhttp2.cpp.
|
overridevirtual |
Reimplemented from Cutelyst::Protocol.
Definition at line 116 of file protocolhttp2.cpp.
| bool ProtocolHttp2::upgradeH2C | ( | Cutelyst::Socket * | socket, |
| QIODevice * | io, | ||
| const Cutelyst::EngineRequest & | request | ||
| ) |
Definition at line 786 of file protocolhttp2.cpp.
| qint32 Cutelyst::ProtocolHttp2::m_headerTableSize |
Definition at line 159 of file protocolhttp2.h.
| quint32 Cutelyst::ProtocolHttp2::m_maxFrameSize |
Definition at line 158 of file protocolhttp2.h.