10 #ifndef __FILESYSTEM_HPP__ 11 #define __FILESYSTEM_HPP__ 87 #endif // __FILESYSTEM_HPP_ FilesystemOptions()
Constructs a new options object with defaultEncoding utf-8 and empty rootPath.
Definition: filesystem.hpp:60
std::function< void(Request *req, Response *res, std::function< void()> next)> MiddlewareFunction
A function which is called by a standard Middleware when an incoming request matches.
Definition: core.hpp:108
std::string rootPath
Specifies the root-path on the local filesystem.
Definition: filesystem.hpp:62
Contains all options for the filesystem middleware.
Definition: filesystem.hpp:57
libcex core classes and functions
std::string defaultEncoding
The default encoding set in the Content-Type header.
Definition: filesystem.hpp:65