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/ESPFirewall/lib/Firewall/src/Firewall.hpp

26 lines
527 B
C++
Raw Normal View History

2022-04-24 00:13:20 +02:00
#ifndef FIREWALL_HPP
#define FIREWALL_HPP
#include "API.hpp"
namespace fw
{
class Firewall : public API
{
private:
public:
Firewall(const char *, const char *, const uint16_t = 8080);
~Firewall();
void handle_api_client();
};
Firewall::Firewall(const char *api_username, const char *api_password, const uint16_t port) : API(api_username, api_password, port) {}
Firewall::~Firewall() {}
void Firewall::handle_api_client()
{
handle_client();
}
}
#endif