mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
sync code
This commit is contained in:
@@ -21,7 +21,16 @@
|
||||
class I_StaticResourcesHandler
|
||||
{
|
||||
public:
|
||||
virtual bool registerStaticResource(const std::string &resource_name, const std::string &resource_full_path) = 0;
|
||||
virtual bool registerStaticResource(
|
||||
const std::string &resource_name,
|
||||
const std::string &resource_full_path,
|
||||
bool overwrite_if_exists = false
|
||||
) = 0;
|
||||
|
||||
virtual bool registerStaticResourceByContent(
|
||||
const std::string &resource_name,
|
||||
const std::string &file_content
|
||||
) = 0;
|
||||
|
||||
protected:
|
||||
virtual ~I_StaticResourcesHandler() {}
|
||||
|
||||
Reference in New Issue
Block a user