JETServer
/home/bradarant/barant/HTTPServer/__newview.h
1 #ifndef ____newview_h__
2 #define ____newview_h__
3 
4 #include "HTTPPage.h"
5 
6 namespace http {
7 
8  class __newview : public HTTPPage {
9 
10  int processCommand(std::string request,
11  core::Session *session,
12  HTTPSession *httpSession,
13  HTTPRequest &httpRequest,
14  std::stringstream &data) override {
15 
16 
17  httpRequest.response.addHeader("Content-Type", "text/html");
18  return 0;
19  }
20 
21  };
22 
23 }
24 
25 #endif
Definition: HTTPSession.h:9
Definition: __configure.h:4
Definition: HTTPPage.h:11
Definition: HTTPRequest.h:11
Definition: __newview.h:8