14#ifndef LIB_DIRTVIZ_INCLUDE_DIRTVIZ_HPP_
15#define LIB_DIRTVIZ_INCLUDE_DIRTVIZ_HPP_
19#include <WiFiClientSecure.h>
58 explicit Dirtviz(
const char* url);
70 void SetUrl(
const char* url);
107 bool ClientConnect();
Logic for interfacing with the Dirtviz API.
unsigned int Check()
Health check for API endpoint.
~Dirtviz()
Frees all memory.
void SetUrl(const char *url)
Set new URL string.
unsigned int SendMeasurement(const uint8_t *meas, size_t meas_len)
Send serialized measurement to the API.
Dirtviz(void)
Construct a new Dirtviz object.
HttpClient GetResponse()
Get the response from the server.
HTTP request parser library.