HTTPServer/HTTPService.h
2019-05-30 10:22:21 -07:00

31 lines
522 B
C++

#ifndef __HTTPService_h__
#define __HTTPService_h__
#include "Service.h"
#include "HTTPSessions.h"
#include "PageService.h"
#include "Exception.h"
#include "HTTPHandler.h"
namespace http {
class HTTPService : public core::Service {
public:
HTTPService() {
commands.add(httpHandler, "GET ");
commands.add(httpHandler, "POST ");
}
HTTPSessions httpSessions;
PageService pageService;
private:
HTTPHandler httpHandler;
};
}
#endif