ok we started moving stuff over but for now it's not all working yet

This commit is contained in:
Me
2022-07-25 03:10:42 +02:00
parent 72d9709ca7
commit b9ccf09089
5 changed files with 531 additions and 0 deletions

51
srcs/LocationConfig.hpp Normal file
View File

@@ -0,0 +1,51 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* LocationConfig.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: me <erlazo@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/23 16:08:00 by me #+# #+# */
/* Updated: 2022/07/23 16:14:01 by me ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LOCATIONCONFIG_HPP
# define LOCATIONCONFIG_HPP
// includes
# include "Webserv.hpp"
// again, struct instead?
class LocationConfig
{
public:
// canonic stuff?
int client_body_limit;
std::string path;
std::string root;
std::vector<std::string> index;
std::vector<MethodType> allow_methods;
std::map<std::string, std::string> cgi_info;
};
#endif