Removes max file upload and secure getWsClients

This commit is contained in:
Rune Harlyk
2026-01-24 13:06:38 +01:00
committed by Rune Harlyk
parent 92b2d326c7
commit 57e80655cf
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ class NativeServer {
NativeServer();
~NativeServer();
void config(size_t maxUriHandlers, size_t stackSize, size_t maxUploadSize);
void config(size_t maxUriHandlers, size_t stackSize);
esp_err_t listen(uint16_t port);
void stop();
@@ -42,7 +42,7 @@ class NativeServer {
esp_err_t wsSendAll(const uint8_t* data, size_t len);
void addWsClient(int sockfd);
void removeWsClient(int sockfd);
std::vector<int>& getWsClients();
std::vector<int> getWsClients();
void addDefaultHeader(const char* key, const char* value);