restructuring
This commit is contained in:
parent
ac669ba504
commit
6c9f7f7c49
13 changed files with 573 additions and 496 deletions
|
@ -1,7 +1,9 @@
|
|||
#include "../http.cpp"
|
||||
#include <memory>
|
||||
|
||||
#include "../http/http_request.cpp"
|
||||
#include "../http/http_response.cpp"
|
||||
|
||||
class backend {
|
||||
public:
|
||||
virtual unique_ptr<http_response> handle_request(http_request& req) = 0;
|
||||
virtual std::unique_ptr<http_response> handle_request(http_request& req) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue