12 lines
281 B
C
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();
|
||
|
};
|