mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
add: class Location
This commit is contained in:
9
src/Client/Location.cpp
Normal file
9
src/Client/Location.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "Location.hpp"
|
||||
|
||||
Location::Location()
|
||||
{
|
||||
}
|
||||
|
||||
Location::~Location()
|
||||
{
|
||||
}
|
||||
22
src/Client/Location.hpp
Normal file
22
src/Client/Location.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef LOCATION_HPP
|
||||
#define LOCATION_HPP
|
||||
|
||||
#include "webserv.hpp"
|
||||
#include "ServerConfig.hpp"
|
||||
|
||||
class Location
|
||||
{
|
||||
private:
|
||||
location *loc;
|
||||
|
||||
public:
|
||||
Location();
|
||||
~Location();
|
||||
|
||||
void setLocation(location *location);
|
||||
bool checkLocation(std::string URI);
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user