8 #include "Raym/Raym.h"
\r
9 #include "net/HTTPDaemon.h"
\r
18 class HTTPDaemon : public Raym::Object,
\r
19 public NET::HTTPDaemonDelegate
\r
22 Controller * _controller;
\r
23 NET::HTTPDaemon * _httpd;
\r
25 Raym::String * _path;
\r
32 static HTTPDaemon *alloc();
\r
33 HTTPDaemon *initWithController(Controller *controller, int port, Raym::String *path);
\r
38 NET::HTTPResponse *request(NET::HTTPRequest *request, struct sockaddr_in *client);
\r