summaryrefslogtreecommitdiff
path: root/includes/HttpServer.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-14 22:44:55 -0800
committerPixel <pixel@nobis-crew.org>2011-11-14 22:44:55 -0800
commitcd8e8948ed17f1985898f8c1d59d32680262457e (patch)
treeafeed4987fd194081b180d3aa68d38f5dedb7f54 /includes/HttpServer.h
parentd2c436e49ae0e870015b106713a711d9356c39cb (diff)
Some more basic work on the HTTP server. Some of the main ideas are not fleshed up, and writing the actual server should now be sort of straightforward.
Diffstat (limited to 'includes/HttpServer.h')
-rw-r--r--includes/HttpServer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/HttpServer.h b/includes/HttpServer.h
index 2609283..7ae0dc1 100644
--- a/includes/HttpServer.h
+++ b/includes/HttpServer.h
@@ -5,6 +5,8 @@
namespace Balau {
+class HttpWorker;
+
class HttpServer {
public:
HttpServer() : m_started(false), m_listenerPtr(NULL), m_port(80) { }
@@ -18,6 +20,8 @@ class HttpServer {
void * m_listenerPtr;
int m_port;
String m_local;
+
+ friend class HttpWorker;
};
};