23 #ifndef TUFAO_HTTPSERVERREQUEST_H
24 #define TUFAO_HTTPSERVERREQUEST_H
26 #include "httpserverresponse.h"
28 class QAbstractSocket;
35 enum class HttpVersion
108 QByteArray method()
const;
119 void setUrl(
const QUrl &url);
174 HttpVersion httpVersion()
const;
196 QByteArray readBody();
207 QAbstractSocket &socket()
const;
221 void setTimeout(
int msecs = 0);
234 Tufao::HttpServerResponse::Options responseOptions()
const;
247 QVariant customData()
const;
262 void setCustomData(
const QVariant &data);
352 friend struct Tufao::HttpServerRequest::Priv;
357 #endif // TUFAO_HTTPSERVERREQUEST_H
The Tufao::HttpServer represents a HTTP request received by Tufao::HttpServer.
Definition: httpserverrequest.h:54
This is the namespace where all Tufão facilities are grouped.
Definition: abstracthttpserverrequesthandler.h:30