#include <static_file_service.hpp>
Public Member Functions | |
static_file_service (const std::string &path, server &s) | |
This class stands as a static file service for a given server and path.
matador::http::static_file_service::static_file_service | ( | const std::string & | path, |
server & | s | ||
) |
Constructor creating a static file route to the given server. All files at the given path will be served by the given server.
path | |
s |