rename, move, change the lot

This commit is contained in:
Florian Hoss 2022-04-24 00:13:20 +02:00
parent 0a7f0faa39
commit 59b1a6b15f
13 changed files with 112 additions and 371 deletions

View file

@ -8,12 +8,12 @@
#endif
#include <uri/UriRegex.h>
#include "esp32Firewall.hpp"
#include "Rules.hpp"
#include "Utils.hpp"
namespace firewall
namespace fw
{
class API : public Firewall
class API : public Rules
{
private:
#ifdef ESP32
@ -40,10 +40,12 @@ namespace firewall
String construct_json_firewall_rule(firewall_rule_t *);
String construct_json_firewall();
public:
API(const char *, const char *, const uint16_t = 8080);
~API();
protected:
void handle_client();
public:
API(const char *, const char *, const uint16_t);
~API();
};
}