25#include "grmcdorman/device/Device.h"
28class AsyncWebServerRequest;
30namespace grmcdorman::device
58 void setup(AsyncWebServer &server,
const std::vector<Device *> &devices);
69 void handle_on_device_get(AsyncWebServerRequest *request,
const Device *device);
The generic device interface.
Definition: Device.h:46
This class provides a REST API for the attached devices.
Definition: WebServerRestAPI.h:41
void setup(AsyncWebServer &server, const std::vector< Device * > &devices)
Set up with the web server.
Definition: WebServerRestAPI.cpp:36