#ifndef ETHERNET_HANDLER_HPP #define ETHERNET_HANDLER_HPP #include "Arduino.h" #include "HTTPClient.h" class EthernetHandler { public: void init(); void begin(); void end(); String post(const String& url, const String& payload); String get(const String& url); }; extern EthernetHandler eth; #endif // ETHERNET_HANDLER_HPP