Files
chargeflow/components/protocols/include/rest.h
2025-06-06 22:20:37 +01:00

15 lines
290 B
C
Executable File

#ifndef REST_H_
#define REST_H_
#include "esp_err.h"
/**
* @brief Initialize REST server
*
* @param base_path Path on the SPIFFS filesystem where static files reside
* @return ESP_OK on success, ESP_FAIL otherwise
*/
esp_err_t rest_init(const char *base_path);
#endif /* REST_H_ */