You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
347 B

#pragma once
#include "webserv.hpp"
class Route {
protected:
string _root;
string _ret;
std::vector<string> _indexs;
bool _autoindex;
public:
Route(JSONNode *datas);
~Route(void);
string getRoot(void);
string getReturn(void);
std::vector<string> getIndexs(void);
string getAutoindex(string uri);
string correctUri(string uri);
};