Template Struct server_

Struct Documentation

template<typename T = void>
struct udho::configs::server_

Public Types

typedef std::map<std::string, std::string> mime_map

Public Functions

server_()
void set(document_root_t, const boost::filesystem::path &v)
boost::filesystem::path get(document_root_t) const
void set(template_root_t, const boost::filesystem::path &v)
boost::filesystem::path get(template_root_t) const
void set(mime_default_t, std::string v)
std::string get(mime_default_t) const
const mime_map &get(mimes_t) const
std::string mime(const std::string &extension) const
void mime(const std::string &extension, const std::string &type)

Public Members

boost::filesystem::path _document_root
boost::filesystem::path _template_root
std::string _mime_default
mime_map _mimes

Public Static Attributes

const struct udho::configs::server_::document_root_t document_root
const struct udho::configs::server_::template_root_t template_root
const struct udho::configs::server_::mime_default_t mime_default
const struct udho::configs::server_::mimes_t mimes
struct document_root_t

Public Types

typedef server_<T> component
struct mime_default_t

Public Types

typedef server_<T> component
struct mimes_t

Public Types

typedef server_<T> component
struct template_root_t

Public Types

typedef server_<T> component