simplify more

This commit is contained in:
Florian Hoss 2022-05-02 17:22:04 +02:00
parent ef86c4f8f6
commit 7f3935ed15
6 changed files with 56 additions and 24 deletions

View file

@ -9,13 +9,13 @@ namespace fw
{
private:
public:
Firewall(const char *, const char *, const char *, const char *, const uint16_t = 8080);
Firewall(const char *, const char *, const char *, const char *, const String ip, const uint16_t = 8080);
~Firewall();
void handle_api_client();
};
Firewall::Firewall(const char *cert, const char *key, const char *username, const char *password, const uint16_t port)
: API(cert, key, username, password, port) {}
Firewall::Firewall(const char *cert, const char *key, const char *username, const char *password, const String ip, const uint16_t port)
: API(cert, key, username, password, ip, port) {}
Firewall::~Firewall() {}
void Firewall::handle_api_client()
{