|
virtual void | sendDynamicFile (const std::string &filePath, HTTPResponse &response, const std::unordered_map< std::string, std::string > &variables, bool isBinary, const std::string &fileName)=0 |
|
virtual void | registerDynamicFunction (const std::string &functionName, std::function< std::string(const std::vector< std::string > &)> &&function)=0 |
|
virtual void | unregisterDynamicFunction (const std::string &functionName)=0 |
|
virtual bool | isDynamicFunctionRegistered (const std::string &functionName)=0 |
|
virtual const std::filesystem::path & | getPathToAssets () const =0 |
|
Definition at line 13 of file IDynamicFile.h.
◆ isDynamicFunctionRegistered()
virtual bool framework::interfaces::IDynamicFile::isDynamicFunctionRegistered |
( |
const std::string & | functionName | ) |
|
|
pure virtual |
◆ registerDynamicFunction()
virtual void framework::interfaces::IDynamicFile::registerDynamicFunction |
( |
const std::string & | functionName, |
|
|
std::function< std::string(const std::vector< std::string > &)> && | function ) |
|
pure virtual |
◆ sendDynamicFile()
virtual void framework::interfaces::IDynamicFile::sendDynamicFile |
( |
const std::string & | filePath, |
|
|
HTTPResponse & | response, |
|
|
const std::unordered_map< std::string, std::string > & | variables, |
|
|
bool | isBinary, |
|
|
const std::string & | fileName ) |
|
pure virtual |
- Parameters
-
fileName | Optional parameter for specifying name of file in Content-Disposition HTTP header |
Implemented in framework::ResourceExecutor.
◆ unregisterDynamicFunction()
virtual void framework::interfaces::IDynamicFile::unregisterDynamicFunction |
( |
const std::string & | functionName | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: