10Duke Scale C++ Client
Loading...
Searching...
No Matches
HTTPRequestHandler.h
1#ifndef TENDUKE_HTTP_SERVER_HTTPREQUESTHANDLER_H
2#define TENDUKE_HTTP_SERVER_HTTPREQUESTHANDLER_H
3
4#include "./HTTPRequest.h"
5#include "./HTTPResponse.h"
6
7namespace tenduke { namespace http { namespace server {
8
13public:
14 virtual ~HTTPRequestHandler() = default;
15
21 virtual void handle(
24 ) = 0;
25};
26
27}}}
28
29#endif //TENDUKE_HTTP_SERVER_HTTPREQUESTHANDLER_H
Service interface for handling a HTTP request.
Definition HTTPRequestHandler.h:12
virtual void handle(tenduke::http::server::HTTPRequest request, tenduke::http::server::HTTPResponse response)=0
Handles the request.
A HTTP-request parsed by HTTP server.
Definition HTTPRequest.h:17
HTTP-response to be returned by a HTTP server.
Definition HTTPResponse.h:15
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7