added abstraction for html parsing and response handling
This commit is contained in:
parent
11aa11903e
commit
2a4e32a274
4 changed files with 45 additions and 10 deletions
14
includes/response_handler.hpp
Normal file
14
includes/response_handler.hpp
Normal 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
|
||||
Reference in a new issue