libcex
1.0.0
Modern C++11 embedded webserver library
|
Contains all options for the filesystem middleware. More...
#include <filesystem.hpp>
Public Member Functions | |
FilesystemOptions () | |
Constructs a new options object with defaultEncoding utf-8 and empty rootPath. | |
Public Attributes | |
std::string | rootPath |
Specifies the root-path on the local filesystem. More... | |
std::string | defaultEncoding |
The default encoding set in the Content-Type header. | |
Contains all options for the filesystem middleware.
std::string cex::FilesystemOptions::rootPath |
Specifies the root-path on the local filesystem.
The path of request URLs will be appended as relative paths when accessing files.