confighttp#

Include dependency graph for confighttp.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "6" [label="atomic" tooltip="atomic"]
    "2" [label="functional" tooltip="functional"]
    "17" [label="variant" tooltip="variant"]
    "3" [label="string" tooltip="string"]
    "8" [label="map" tooltip="map"]
    "11" [label="utility.h" tooltip="utility.h"]
    "15" [label="string_view" tooltip="string_view"]
    "7" [label="condition_variable" tooltip="condition_variable"]
    "14" [label="optional" tooltip="optional"]
    "10" [label="vector" tooltip="vector"]
    "5" [label="array" tooltip="array"]
    "9" [label="mutex" tooltip="mutex"]
    "16" [label="type_traits" tooltip="type_traits"]
    "12" [label="algorithm" tooltip="algorithm"]
    "1" [label="src/confighttp.h" tooltip="src/confighttp.h" fillcolor="#BFBFBF"]
    "13" [label="memory" tooltip="memory"]
    "4" [label="thread_safe.h" tooltip="thread_safe.h"]
    "11" -> "12" [dir=forward tooltip="include"]
    "11" -> "7" [dir=forward tooltip="include"]
    "11" -> "13" [dir=forward tooltip="include"]
    "11" -> "9" [dir=forward tooltip="include"]
    "11" -> "14" [dir=forward tooltip="include"]
    "11" -> "3" [dir=forward tooltip="include"]
    "11" -> "15" [dir=forward tooltip="include"]
    "11" -> "16" [dir=forward tooltip="include"]
    "11" -> "17" [dir=forward tooltip="include"]
    "11" -> "10" [dir=forward tooltip="include"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
    "1" -> "4" [dir=forward tooltip="include"]
    "4" -> "5" [dir=forward tooltip="include"]
    "4" -> "6" [dir=forward tooltip="include"]
    "4" -> "7" [dir=forward tooltip="include"]
    "4" -> "2" [dir=forward tooltip="include"]
    "4" -> "8" [dir=forward tooltip="include"]
    "4" -> "9" [dir=forward tooltip="include"]
    "4" -> "10" [dir=forward tooltip="include"]
    "4" -> "11" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include confighttp.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "4" [label="src/upnp.cpp" tooltip="src/upnp.cpp"]
    "3" [label="src/main.cpp" tooltip="src/main.cpp"]
    "2" [label="src/confighttp.cpp" tooltip="src/confighttp.cpp"]
    "1" [label="src/confighttp.h" tooltip="src/confighttp.h" fillcolor="#BFBFBF"]
    "1" -> "2" [dir=back tooltip="include"]
    "1" -> "3" [dir=back tooltip="include"]
    "1" -> "4" [dir=back tooltip="include"]
}

todo

Defines

WEB_DIR#

Variables

const std::map<std::string, std::string> mime_types = {{"css", "text/css"}, {"gif", "image/gif"}, {"htm", "text/html"}, {"html", "text/html"}, {"ico", "image/x-icon"}, {"jpeg", "image/jpeg"}, {"jpg", "image/jpeg"}, {"js", "application/javascript"}, {"json", "application/json"}, {"png", "image/png"}, {"svg", "image/svg+xml"}, {"ttf", "font/ttf"}, {"txt", "text/plain"}, {"woff2", "font/woff2"}, {"xml", "text/xml"},}#
namespace confighttp#

Variables

constexpr auto PORT_HTTPS = 1#