Webserv
Loading...
Searching...
No Matches
AutoIndexDirective.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <string>
5
6namespace config {
7
9public:
10 virtual void process(Block &block, ParsedDirectiveArgs const &args) const;
11 virtual std::string const &getName() const { return name_; }
12
13private:
14 static const std::string name_;
15};
16
17} // namespace config
Definition AutoIndexDirective.hpp:8
static const std::string name_
Definition AutoIndexDirective.hpp:14
virtual std::string const & getName() const
Gets the name of the directive.
Definition AutoIndexDirective.hpp:11
virtual void process(Block &block, ParsedDirectiveArgs const &args) const
The primary logic for processing the directive's arguments.
Definition AutoIndexDirective.cpp:11
Base class for configuration blocks like 'server' and 'location'.
Definition Block.hpp:15
Defines the contract for a configuration directive handler.
Definition IDirective.hpp:18
Definition ArgumentFactory.hpp:5
std::vector< Token > ParsedDirectiveArgs
Definition types.hpp:13