hyperion.ng
Public Types | Public Member Functions | Static Public Attributes | Protected Slots | Protected Member Functions | List of all members
QtHttpClientWrapper Class Reference
Inheritance diagram for QtHttpClientWrapper:

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)
 

The documentation for this class was generated from the following files: