1 #ifndef QTHTTPREQUEST_H 2 #define QTHTTPREQUEST_H 9 #include <QHostAddress> 15 using QtHttpPostData = QMap<QString,QByteArray>;
24 QHostAddress serverAddress;
25 QHostAddress clientAddress;
28 int getRawDataSize (
void)
const;
29 QUrl getUrl (
void)
const;
30 QString getCommand (
void)
const;
31 QByteArray getRawData (
void)
const;
32 QList<QByteArray> getHeadersList (
void)
const;
35 QByteArray getHeader (
const QByteArray & header)
const;
36 QtHttpPostData getPostData (
void)
const;
41 void setUrl (
const QUrl & url);
42 void setCommand (
const QString & command);
43 void setClientInfo (
const QHostAddress & server,
const QHostAddress & client);
44 void addHeader (
const QByteArray & header,
const QByteArray & value);
45 void appendRawData (
const QByteArray & data);
46 void setPostData (
const QtHttpPostData & data);
54 QHash<QByteArray, QByteArray> m_headersHash;
56 QtHttpPostData m_postData;
59 #endif // QTHTTPREQUEST_H Definition: QtHttpRequest.h:17
Definition: QtHttpServer.h:37
Definition: QtHttpClientWrapper.h:15
Definition: QtHttpRequest.h:23