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

Public Types | |
| enum class | HeaderConnection { NotSet , Keep , Close , Upgrade } |
| enum | ParserState { MethodLine , HeaderLine , ContentBody , H2Frames } |
Public Member Functions | |
| ProtocolData (const ProtocolData &)=delete | |
| ProtocolData (Socket *sock, int bufferSize) | |
| ProtocolData & | operator= (const ProtocolData &)=delete |
| virtual void | resetData () |
| virtual void | setupNewConnection (Socket *sock)=0 |
| virtual void | socketDisconnected () |
Public Attributes | |
| int | buf_size |
| char * | buffer |
| ParserState | connState |
| qint64 | contentLength |
| HeaderConnection | headerConnection |
| bool | headerHost |
| QIODevice * | io |
| Socket * | sock |
| ProtocolData * | upgradedFrom |
| bool | X_Forwarded_For |
| bool | X_Forwarded_Host |
| bool | X_Forwarded_Proto |
Definition at line 18 of file protocol.h.
|
strong |
Definition at line 28 of file protocol.h.
| enum Cutelyst::ProtocolData::ParserState |
Definition at line 36 of file protocol.h.
| ProtocolData::ProtocolData | ( | Cutelyst::Socket * | _sock, |
| int | bufferSize | ||
| ) |
Definition at line 21 of file protocol.cpp.
|
virtual |
Definition at line 28 of file protocol.cpp.
|
inlinevirtual |
Definition at line 44 of file protocol.h.
|
inlinevirtual |
Definition at line 55 of file protocol.h.
| int Cutelyst::ProtocolData::buf_size |
Definition at line 62 of file protocol.h.
| char* Cutelyst::ProtocolData::buffer |
Definition at line 65 of file protocol.h.
| ParserState Cutelyst::ProtocolData::connState |
Definition at line 63 of file protocol.h.
| qint64 Cutelyst::ProtocolData::contentLength |
Definition at line 58 of file protocol.h.
| HeaderConnection Cutelyst::ProtocolData::headerConnection |
Definition at line 64 of file protocol.h.
| bool Cutelyst::ProtocolData::headerHost |
Definition at line 66 of file protocol.h.
| QIODevice* Cutelyst::ProtocolData::io |
Definition at line 60 of file protocol.h.
| Socket* Cutelyst::ProtocolData::sock |
Definition at line 59 of file protocol.h.
| ProtocolData* Cutelyst::ProtocolData::upgradedFrom |
Definition at line 61 of file protocol.h.
| bool Cutelyst::ProtocolData::X_Forwarded_For |
Definition at line 67 of file protocol.h.
| bool Cutelyst::ProtocolData::X_Forwarded_Host |
Definition at line 68 of file protocol.h.
| bool Cutelyst::ProtocolData::X_Forwarded_Proto |
Definition at line 69 of file protocol.h.