webserv/webserv/config/LocationConfig.hpp
2025-09-26 18:08:32 +02:00

21 lines
658 B
C++

#pragma once
#include <webserv/config/AConfig.hpp> // for AConfig
#include <string> // for string
class LocationConfig : public AConfig
{
public:
LocationConfig() = delete;
LocationConfig(const std::string &Block, const AConfig *parent = nullptr);
LocationConfig(const LocationConfig &other) = delete;
LocationConfig &operator=(const LocationConfig &other) = delete;
LocationConfig(LocationConfig &&other) noexcept = delete;
LocationConfig &operator=(LocationConfig &&other) noexcept = delete;
~LocationConfig() override = default;
private:
void parseBlock(const std::string &block) override;
};