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

27 lines
593 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:
2022-04-24 18:28:41 +02:00
Firewall(const char *, const char *, const char *, const char *, const uint16_t = 8080);
2022-04-24 00:13:20 +02:00
~Firewall();
void handle_api_client();
};
2022-04-24 18:28:41 +02:00
Firewall::Firewall(const char *cert, const char *key, const char *username, const char *password, const uint16_t port)
: API(cert, key, username, password, port) {}
2022-04-24 00:13:20 +02:00
Firewall::~Firewall() {}
void Firewall::handle_api_client()
{
handle_client();
}
}
#endif