summaryrefslogtreecommitdiffstats
path: root/tests/auto/httpserver/httpserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/httpserver/httpserver.h')
-rw-r--r--tests/auto/httpserver/httpserver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/httpserver/httpserver.h b/tests/auto/httpserver/httpserver.h
index 270b6265f..201eef4c6 100644
--- a/tests/auto/httpserver/httpserver.h
+++ b/tests/auto/httpserver/httpserver.h
@@ -59,6 +59,8 @@ public:
Q_INVOKABLE void setHostDomain(const QString &host) { m_url.setHost(host); }
+ Q_INVOKABLE QTcpServer *getTcpServer() const { return m_tcpServer; }
+
Q_SIGNALS:
// Emitted after a HTTP request has been successfully parsed.
void newRequest(HttpReqRep *reqRep);