hyperion.ng
|
Public Types | |
enum | ParsingStatus { ParsingError = -1, AwaitingRequest = 0, AwaitingHeaders = 1, AwaitingContent = 2, RequestParsed = 3 } |
Public Member Functions | |
QtHttpClientWrapper (QTcpSocket *sock, QtHttpServer *parent) | |
QString | getGuid (void) |
void | sendToClientWithReply (QtHttpReply *reply) |
Wrapper for sendReplyToClient(), handles m_parsingStatus and signal connect. | |
Static Public Attributes | |
static const char | SPACE = ' ' |
static const char | COLON = ':' |
static const QByteArray & | CRLF = QByteArrayLiteral ("\r\n") |
Protected Slots | |
void | onReplySendHeadersRequested (void) |
void | onReplySendDataRequested (void) |
Protected Member Functions | |
ParsingStatus | sendReplyToClient (QtHttpReply *reply) |