cutelyst 4.3.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
|
Public Member Functions | |
ProtocolWebSocket (Server *wsgi) | |
ProtocolData * | createData (Socket *sock) const override final |
void | parse (Socket *sock, QIODevice *io) const override final |
Type | type () const override |
Public Member Functions inherited from Cutelyst::Protocol | |
Protocol (Server *wsgi) | |
QIODevice * | createBody (qint64 contentLength) const |
Static Public Member Functions | |
static QByteArray | createWebsocketCloseReply (const QString &msg, quint16 closeCode) |
static QByteArray | createWebsocketHeader (quint8 opcode, quint64 len) |
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 |
Definition at line 13 of file protocolwebsocket.h.
ProtocolWebSocket::ProtocolWebSocket | ( | Server * | wsgi | ) |
Definition at line 27 of file protocolwebsocket.cpp.
|
overridevirtual |
Definition at line 33 of file protocolwebsocket.cpp.
|
finaloverridevirtual |
Implements Cutelyst::Protocol.
Definition at line 140 of file protocolwebsocket.cpp.
|
static |
Definition at line 74 of file protocolwebsocket.cpp.
|
static |
Definition at line 42 of file protocolwebsocket.cpp.
Implements Cutelyst::Protocol.
Definition at line 94 of file protocolwebsocket.cpp.
|
overridevirtual |
Reimplemented from Cutelyst::Protocol.
Definition at line 37 of file protocolwebsocket.cpp.