23 #ifndef TUFAO_HTTPSERVERREQUEST_H
24 #define TUFAO_HTTPSERVERREQUEST_H
26 #include "httpserverresponse.h"
28 class QAbstractSocket;
103 QByteArray method()
const;
114 void setUrl(
const QByteArray &url);
131 QByteArray url()
const;
163 HttpVersion httpVersion()
const;
171 QAbstractSocket *socket()
const;
185 void setTimeout(
int msecs = 0);
198 Tufao::HttpServerResponse::Options responseOptions()
const;
208 void ready(Tufao::HttpServerResponse::Options);
235 void data(QByteArray data);
264 void upgrade(QByteArray head);
277 friend struct Tufao::HttpServerRequest::Priv;
282 #endif // TUFAO_HTTPSERVERREQUEST_H
The Tufao::HttpServer represents a HTTP request received by Tufao::HttpServer.
Definition: httpserverrequest.h:47