Fawkes API
Fawkes Development Version
request_processor.cpp
1
2
/***************************************************************************
3
* request_processor.cpp - HTTP request processor
4
*
5
* Created: Mon Oct 13 22:02:25 2008
6
* Copyright 2006-2008 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#include <webview/request_processor.h>
24
25
#include <sys/types.h>
26
#include <sys/socket.h>
27
#include <stdint.h>
28
#include <cstdarg>
29
#include <microhttpd.h>
30
#include <cstring>
31
32
namespace
fawkes
{
33
#if 0
/* just to make Emacs auto-indent happy */
34
}
35
#endif
36
37
/** @class WebRequestProcessor <webview/request_processor.h>
38
* Abstract web request processor.
39
* Interface used to define web request processor that can be registered to
40
* the WebRequestDispatcher.
41
* @author Tim Niemueller
42
*
43
*
44
* @fn virtual WebReply * WebRequestProcessor::process_request(const WebRequest *request) = 0
45
* Process a request.
46
* @param request request object encapsulating information about the connection
47
* @return a WebReply instance, more specifically either a DynamicWebReply or a StaticWebReply
48
* that is sent as reply, or NULL to cause a 404 (not found) error.
49
*/
50
51
/** Constructor. */
52
WebRequestProcessor::WebRequestProcessor
()
53
{
54
}
55
56
/** Virtual empty destructor. */
57
WebRequestProcessor::~WebRequestProcessor
()
58
{
59
}
60
61
}
// end namespace fawkes
fawkes
Fawkes library namespace.
fawkes::WebRequestProcessor::~WebRequestProcessor
virtual ~WebRequestProcessor()
Virtual empty destructor.
Definition:
request_processor.cpp:57
fawkes::WebRequestProcessor::WebRequestProcessor
WebRequestProcessor()
Constructor.
Definition:
request_processor.cpp:52
src
libs
webview
request_processor.cpp
Generated by
1.8.13