Webserv
Loading...
Searching...
No Matches
config::details Namespace Reference

Functions

void completeLocationRoot (LocationBlock &l, ServerBlock const &s)
bool matchServerName (std::vector< std::string > const &, std::string const &)
LocationBlock const * bestMatchLocation (LocationBlockMap const &ls, std::string const &path)
LocationBlock const * matchExtensionLocation (LocationBlockMap const &ls, std::vector< std::string > const &paths, std::string const &uri)

Function Documentation

◆ bestMatchLocation()

LocationBlock const * config::details::bestMatchLocation ( LocationBlockMap const & ls,
std::string const & path )

◆ completeLocationRoot()

void config::details::completeLocationRoot ( LocationBlock & l,
ServerBlock const & s )

◆ matchExtensionLocation()

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

◆ matchServerName()

bool config::details::matchServerName ( std::vector< std::string > const & names,
std::string const & s )