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

Public Member Functions

 ProtocolFastCGI (Server *server)
ProtocolDatacreateData (Socket *sock) const override final
void parse (Socket *sock, QIODevice *io) const override final
qint64 readBody (Socket *socket, QIODevice *io, qint64 bytesAvailable) const
Type type () const override
Public Member Functions inherited from Cutelyst::Protocol
 Protocol (const Server *server)
QIODevicecreateBody (qint64 contentLength) const

Additional Inherited Members

Public Types inherited from Cutelyst::Protocol
enum class  Type {
  Unknown , Http11 , Http11Websocket , Http2 ,
  FastCGI1
}
Public Attributes inherited from Cutelyst::Protocol
int m_bufferSize
char * m_postBuffer
qint64 m_postBuffering
qint64 m_postBufferSize
bool const useStats

Detailed Description

Definition at line 61 of file protocolfastcgi.h.

Constructor & Destructor Documentation

◆ ProtocolFastCGI()

ProtocolFastCGI::ProtocolFastCGI ( Server * server)
explicit

Definition at line 76 of file protocolfastcgi.cpp.

◆ ~ProtocolFastCGI()

ProtocolFastCGI::~ProtocolFastCGI ( )
override

Definition at line 81 of file protocolfastcgi.cpp.

Member Function Documentation

◆ createData()

ProtocolData * ProtocolFastCGI::createData ( Socket * sock) const
finaloverridevirtual

Implements Cutelyst::Protocol.

Definition at line 391 of file protocolfastcgi.cpp.

◆ parse()

void ProtocolFastCGI::parse ( Socket * sock,
QIODevice * io ) const
finaloverridevirtual

Implements Cutelyst::Protocol.

Definition at line 328 of file protocolfastcgi.cpp.

◆ readBody()

qint64 ProtocolFastCGI::readBody ( Socket * socket,
QIODevice * io,
qint64 bytesAvailable ) const
inline

Definition at line 294 of file protocolfastcgi.cpp.

◆ type()

Protocol::Type ProtocolFastCGI::type ( ) const
overridevirtual

Reimplemented from Cutelyst::Protocol.

Definition at line 85 of file protocolfastcgi.cpp.