cutelyst 4.3.0
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 *wsgi)
 
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 (Server *wsgi)
 
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 wsgi)

Definition at line 120 of file protocolfastcgi.cpp.

◆ ~ProtocolFastCGI()

ProtocolFastCGI::~ProtocolFastCGI ( )
override

Definition at line 125 of file protocolfastcgi.cpp.

Member Function Documentation

◆ createData()

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

Implements Cutelyst::Protocol.

Definition at line 429 of file protocolfastcgi.cpp.

◆ parse()

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

Implements Cutelyst::Protocol.

Definition at line 366 of file protocolfastcgi.cpp.

◆ readBody()

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

Definition at line 332 of file protocolfastcgi.cpp.

◆ type()

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

Reimplemented from Cutelyst::Protocol.

Definition at line 129 of file protocolfastcgi.cpp.