]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/server.h
Hide Http::Server destructor in the library
[libs/net.git] / source / http / server.h
index 41894db99d6141dc89c901c354d06b4f25ca25b3..04c2d06b5cf6d386fa7d3f357036f3efaabba4df 100644 (file)
@@ -32,10 +32,13 @@ private:
 
        Net::StreamServerSocket sock;
        std::list<Client> clients;
+       std::map<Response *, Client *> responses;
        IO::EventDispatcher *event_disp;
 
 public:
        Server(unsigned);
+       ~Server();
+
        unsigned get_port() const;
        void use_event_dispatcher(IO::EventDispatcher *);
        void delay_response(Response &);