/home/bradarant/barant/HTTPServer/__welcome.h
#ifndef ____welcome_h__
#define ____welcome_h__
#include "HTTPPage.h"
#include "BMAMySQL.h"
namespace http {
class __welcome : public HTTPPage {
int processCommand(std::string request,
core::Session *session,
HTTPSession *httpSession,
HTTPRequest &httpRequest,
std::stringstream &data) override {
data << "<div class=\"window\">\
<p>You have successfully set up a JETServer.\
<br>Session Id: " << httpSession->getSessionId() << "\
<br>The configuration has not yet been established for this web site.</p>\
<input type=\"button\" onmousedown=\"getPage('/setupadmin','main'); return true;\" name=\"button1\" value=\"Configure\">\
</div>";
httpRequest.response.addHeader("Content-Type", "text/html");
return true;
}
};
}
#endif
http::HTTPSession
Definition: HTTPSession.h:9
http
Definition: __configure.h:4
http::HTTPPage
Definition: HTTPPage.h:11
http::HTTPRequest
Definition: HTTPRequest.h:11
http::__welcome
Definition: __welcome.h:9