#ifndef ____welcome_h__ #define ____welcome_h__ #include "HTTPPage.h" namespace http { class __welcome : public HTTPPage { int processCommand(std::string request, core::TCPSession *session, HTTPSession *httpSession, HTTPRequest &httpRequest, std::stringstream &data) override { data << "
\

You have successfully set up a JETServer.\
Session Id: " << httpSession->getSessionId() << "\
The configuration has not yet been established for this web site.

\ \
"; httpRequest.response.addHeader("Content-Type", "text/html"); return true; } }; } #endif