Webserv
Loading...
Searching...
No Matches
ServerBlock.hpp File Reference
#include "LocationBlock.hpp"
#include "internal/Block.hpp"

Go to the source code of this file.

Classes

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

Namespaces

namespace  config
namespace  config::details

Typedefs

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

Functions

std::ostream & config::operator<< (std::ostream &o, ServerBlock const &t)
bool config::details::matchServerName (std::vector< std::string > const &, std::string const &)
LocationBlock const * config::details::bestMatchLocation (LocationBlockMap const &ls, std::string const &path)