This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
esp-firewall/SourceCode/arduino/lib/Firewall/Firewall.h
2022-04-10 20:46:54 +02:00

20 lines
377 B
C++

#ifndef FIREWALL_H
#define FIREWALL_H
#include "WebServer.h"
#include "cJSON.h"
#include "esp32-hal-log.h"
class ESPFirewall
{
WebServer *firewall_api = new WebServer(8080);
void get_firewall_rules();
void setup_routing();
void custom_message_response(const char *message, int response_code);
public:
ESPFirewall();
void handle_clients();
};
#endif