rename, move, change the lot
This commit is contained in:
parent
0a7f0faa39
commit
59b1a6b15f
13 changed files with 112 additions and 371 deletions
25
ESPFirewall/lib/Firewall/src/Firewall.hpp
Normal file
25
ESPFirewall/lib/Firewall/src/Firewall.hpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
#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
|
Reference in a new issue