Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit c14f228

Browse files
authored
v1.6.0 to save heap when sending large data
### Releases v1.6.0 1. Support using `CString` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](khoih-prog/Portenta_H7_AsyncWebServer#8) 2. Add functions and example `Async_AdvancedWebServer_favicon` to support `favicon.ico` 3. Add multiple examples to demo the new feature 4. Fix issue with slow browsers or network 5. Change license from `MIT` to `GPLv3` to match with original [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer) license
1 parent 00c5df1 commit c14f228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncWebServer_STM32.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class AsyncWebServerRequest
422422

423423
void send(AsyncWebServerResponse *response);
424424
void send(int code, const String& contentType = String(), const String& content = String());
425-
void send(int code, const String& contentType, const char *content, bool nonCopyingSend = true); // RSMOD
425+
void send(int code, const String& contentType, const char *content, bool copyingSend = true); // RSMOD
426426

427427
void send(Stream &stream, const String& contentType, size_t len, AwsTemplateProcessor callback = nullptr);
428428
void send(const String& contentType, size_t len, AwsResponseFiller callback, AwsTemplateProcessor templateCallback = nullptr);

0 commit comments

Comments
 (0)