matador::http::static_file_service Class Reference

#include <static_file_service.hpp>

Public Member Functions

 static_file_service (const std::string &path, server &s)
 

Detailed Description

This class stands as a static file service for a given server and path.

Constructor & Destructor Documentation

◆ static_file_service()

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.

Parameters
path
s

The documentation for this class was generated from the following file:
  • matador/http/static_file_service.hpp