2025-01-13 04:58:58 +10:00

12 lines
281 B
C++

#include <string>
class RouteHandler {
public:
static std::string get_response_by_request(const std::string& request);
protected:
static std::string format_http_response(std::string status, std::string text);
private:
static std::string get_current_temperature();
};