Hobrasoft httpd server
Embedded HTTP server for Qt and C++
hobrasofthttp
example
src
httpd
httpd.cpp
Go to the documentation of this file.
1
7
#include "
httpd.h
"
8
#include "
requestmapper.h
"
9
#include "
application.h
"
10
11
12
Example::Httpd::Httpd::Httpd
(QObject *parent) :
HobrasoftHttpd
::HttpServer(parent) {
13
}
14
15
16
HobrasoftHttpd::HttpRequestHandler
*
Example::Httpd::Httpd::requestHandler
(
HobrasoftHttpd::HttpConnection
*connection) {
17
return
new
RequestMapper
(connection);
18
}
19
Example::Httpd::RequestMapper
Processes HTTP request.
Definition:
requestmapper.h:33
application.h
Example::Httpd::Httpd::requestHandler
virtual HobrasoftHttpd::HttpRequestHandler * requestHandler(HobrasoftHttpd::HttpConnection *)
Returns pointer to new instance of my own request handler HobrasoftHttpd::HttpRequestHandler.
Definition:
httpd.cpp:16
httpd.h
HobrasoftHttpd::HttpRequestHandler
Processes incoming requests.
Definition:
httprequesthandler.h:81
requestmapper.h
Example::Httpd::Httpd::Httpd
Httpd(QObject *parent)
Constructor.
Definition:
httpd.cpp:12
HobrasoftHttpd
Namespace of HTTP server.
Definition:
hobrasofthttpd.h:13
HobrasoftHttpd::HttpConnection
One single connection to http server.
Definition:
httpconnection.h:30
Generated on Tue Dec 11 2018 11:15:48 for Hobrasoft httpd server by
1.8.14