Webserv
Loading...
Searching...
No Matches
ServerBlock.hpp File Reference

Go to the source code of this file.

Classes

class  config::ServerBlock
 Represents a single 'server' block from the configuration file. More...

Namespaces

namespace  http
namespace  config
namespace  config::details

Typedefs

typedef std::map< std::string, LocationBlockconfig::LocationBlockMap
typedef std::vector< ServerBlockconfig::ServerBlockVec

Functions

bool config::details::matchServerName (std::vector< std::string > const &, std::string const &)
LocationBlock const * config::details::bestMatchLocation (LocationBlockMap const &ls, std::string const &path)
LocationBlock const * config::details::matchExtensionLocation (LocationBlockMap const &ls, std::vector< std::string > const &paths, std::string const &uri)