Template Struct server_¶
Defined in File configuration.h
Nested Relationships¶
Struct Documentation¶
-
template<typename
T= void>
structudho::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¶
-
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¶
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¶
-
struct
document_root_t¶
-
struct
mime_default_t¶
-
struct
mimes_t¶
-
struct
template_root_t¶
-
typedef std::map<std::string, std::string>