/home/bradarant/barant/HTTPServer/HTTPPage.h
#ifndef __HTTPPage_h__
#define __HTTPPage_h__
#include "HTTPSession.h"
#include "HTTPRequest.h"
#include "Session.h"
#include "Log.h"
namespace http {
class HTTPPage : public core::Object {
public:
bool check(std::string request) {
if(request != "") {
if(name.length() > 0) {
if(name == request)
return true;
}
return false;
}
return false;
}
virtual int processCommand(std::string request,
core::Session *session,
HTTPSession *httpSession,
HTTPRequest &httpRequest,
std::stringstream &data) {
return false;
}
};
}
#endif
http::HTTPSession
Definition: HTTPSession.h:9
http
Definition: __configure.h:4
http::HTTPPage
Definition: HTTPPage.h:11
http::HTTPRequest
Definition: HTTPRequest.h:11