added abstraction for html parsing and response handling

This commit is contained in:
Thomas Schleicher 2024-10-24 10:34:10 +02:00
parent 11aa11903e
commit 2a4e32a274
4 changed files with 45 additions and 10 deletions

View file

@ -0,0 +1,14 @@
#ifndef RESPONSE_HANDLER_HPP
#define RESPONSE_HANDLER_HPP
#include "request_parser.hpp"
#include <string>
using namespace std;
class response_handler {
public:
string& handle(HttpRequest request);
};
#endif