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

Public Member Functions

 ProtocolHttp2 (Server *wsgi)
 
ProtocolDatacreateData (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 (ProtoRequestHttp2 *request, QIODevice *io, const H2Frame &fr) const
 
int parsePriority (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 (Server *wsgi)
 
QIODevicecreateBody (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
}
 

Detailed Description

Definition at line 116 of file protocolhttp2.h.