mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-10 23:48:46 +02:00
「🏗️」 wip: reformated request include folder
This commit is contained in:
49
includes/requests/RequestImplement.hpp
Normal file
49
includes/requests/RequestImplement.hpp
Normal file
@ -0,0 +1,49 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* RequestImplement.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/30 09:30:15 by adjoly #+# #+# */
|
||||
/* Updated: 2025/04/30 09:34:17 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include <requests/ARequest.hpp>
|
||||
|
||||
namespace webserv {
|
||||
namespace http {
|
||||
|
||||
class Get : public ARequest {
|
||||
public:
|
||||
Get(void) {}
|
||||
Get(std::string &data);
|
||||
|
||||
void parse(std::string const &data);
|
||||
|
||||
Response execute(void);
|
||||
};
|
||||
|
||||
class Post : public ARequest {
|
||||
public:
|
||||
Post(void) {}
|
||||
Post(std::string &data);
|
||||
|
||||
void parse(std::string const &data);
|
||||
|
||||
Response execute(void);
|
||||
};
|
||||
|
||||
class Delete : public http::ARequest {
|
||||
public:
|
||||
Delete(void) {}
|
||||
Delete(std::string &data);
|
||||
|
||||
void parse(std::string const &data);
|
||||
|
||||
Response execute(void);
|
||||
};
|
||||
|
||||
}; // namespace http
|
||||
}; // namespace webserv
|
Reference in New Issue
Block a user