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
http::HTTPSession
Definition:
HTTPSession.h:9
http
Definition:
__configure.h:4
http::HTTPPage
Definition:
HTTPPage.h:11
http::HTTPRequest
Definition:
HTTPRequest.h:11
http::__newview
Definition:
__newview.h:8
Generated by
1.8.13