3 #include <ail/types.hpp>
4 #include <boost/asio.hpp>
5 #include <theodwalha/client.hpp>
6 #include <theodwalha/temporary.hpp>
7 #include <theodwalha/module_manager.hpp>
13 http_server(boost::asio::io_service
& io_service
, std::string
const & temporary_file_directory
);
15 bool launch_server(ushort new_port
);
22 boost::asio::io_service
& io_service
;
23 boost::asio::ip::tcp::acceptor acceptor
;
25 temporary_file_manager file_manager
;
26 module_manager modules
;
30 void accept_event(boost::system::error_code
const & error
, http_server_client
* new_client
);