Files
tracktime_beacon/main/Ethernet.hpp
Michal Courson b1e155d08b initial
2025-08-28 21:39:35 -04:00

17 lines
364 B
C++

#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