mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
add websocket support
This commit is contained in:
10
code/components/jomjol_helper/websocket.h
Normal file
10
code/components/jomjol_helper/websocket.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef WEBSOCKET_H
|
||||
#define WEBSOCKET_H
|
||||
|
||||
#include <esp_http_server.h>
|
||||
|
||||
esp_err_t start_websocket_server(httpd_handle_t server);
|
||||
|
||||
esp_err_t schedule_websocket_message(std::string message);
|
||||
|
||||
#endif // WEBSOCKET_H
|
||||
Reference in New Issue
Block a user