Commit Graph

687 Commits

Author SHA1 Message Date
Mathieu Carbou
3bd4eb82a4 Fix include directives to make ArduinoJson optional and fix CI 2024-09-29 23:40:00 +02:00
Mathieu Carbou
6a247c1967 Cleanups 2024-09-29 22:57:54 +02:00
Mathieu Carbou
319e10c210 AsyncWebSocketClient: Fix inconsistent queueLen() in relation to canSend() amd queueIsFull() 2024-09-29 22:12:37 +02:00
Mathieu Carbou
6bab6053c3 Merge pull request #106 from mathieucarbou/h_cpp_split
Moved implementations in cpp files
2024-09-29 22:11:40 +02:00
Mathieu Carbou
b473625d1d Moved implementations in cpp files 2024-09-29 22:05:35 +02:00
Mathieu Carbou
546f9ed1c4 espressif32@6.9.0 2024-09-26 14:53:44 +02:00
Mathieu Carbou
2e65ee60df Fix CORS Middleware 2024-09-25 01:33:22 +02:00
Mathieu Carbou
eacf0eb474 Arduino Release v3.0.5 based on ESP-IDF v5.1.4+ 2024-09-18 15:45:20 +02:00
Mathieu Carbou
e612803673 bblanchon/ArduinoJson @ 7.2.0 2024-09-18 11:15:50 +02:00
Mathieu Carbou
35230ba83c update doc 2024-09-15 23:47:08 +02:00
Mathieu Carbou
7c57b0cd6b update doc 2024-09-15 22:16:09 +02:00
Mathieu Carbou
9bad612a69 Check for null 2024-09-15 11:59:32 +02:00
Mathieu Carbou
74b16d6ed3 v3.3.1 2024-09-15 11:32:54 +02:00
Mathieu Carbou
9e6cc52bbc Fix warning on ESP8266 2024-09-15 11:31:18 +02:00
Mathieu Carbou
d39aba4d8a update doc 2024-09-14 16:55:02 +02:00
Mathieu Carbou
b403739985 v3.3.0 2024-09-14 16:43:53 +02:00
Mathieu Carbou
92bdd17061 Merge pull request #98 from mathieucarbou/middleware
Add support for Middleware
2024-09-14 16:40:28 +02:00
Mathieu Carbou
e6aea01dd3 Add Middleware support in ESPAsyncWebServer 2024-09-14 14:17:51 +02:00
Mathieu Carbou
d29f57e003 Merge pull request #104 from mathieucarbou/overloads
Fix method overload issue with ESP8266. ESP8266 has to use send_P() a…
2024-09-14 13:58:42 +02:00
Mathieu Carbou
f959bb91dd Fix method overload issue with ESP8266. ESP8266 has to use send_P() and beginResponse_p() variants 2024-09-14 13:06:37 +02:00
Mathieu Carbou
fa20cdf7a3 update CI 2024-09-14 09:05:43 +02:00
Mathieu Carbou
ca82a3e5a2 Merge pull request #103 from mathieucarbou/response
Support for replacing a response by a new one
2024-09-14 01:41:06 +02:00
Mathieu Carbou
571eac4d00 Support for replacing a response by a new one 2024-09-14 01:09:22 +02:00
Mathieu Carbou
741841a078 not needed to clear response headers: they will be freed once response will be deleted 2024-09-14 00:46:38 +02:00
Mathieu Carbou
4b03e071b4 Exposing new methods:
- sent response from request
- response code
- response headers
And fixed missing response when a handler forget to respond (501)
2024-09-13 23:35:37 +02:00
Mathieu Carbou
cadd61898b pioarduino update 2024-09-13 16:49:47 +02:00
Mathieu Carbou
4166d9002f Fix header removal logic 2024-09-13 16:46:41 +02:00
Mathieu Carbou
072b7f82b5 Fix last commit 2024-09-12 00:08:01 +02:00
Mathieu Carbou
f7371c870d Code simplification 2024-09-12 00:04:55 +02:00
Mathieu Carbou
e28aa5e3fc #define RESPONSE_STREAM_BUFFER_SIZE 1460 2024-09-11 21:56:23 +02:00
Mathieu Carbou
02063bd929 Merge pull request #101 from mathieucarbou/headers
(perf) Remove "interesting headers" to fasten request processing (replaced with `removeHeadersExcept`)
2024-09-11 18:02:16 +02:00
Mathieu Carbou
b4460a2a70 (perf) Remove interesting headers to fasten request processing
All headers are already parsed: interesting headers allowed to cleanup parsed headers to only keep interesting ones during request processing.
Removing "interesting headers" support will keep these parsed headers in heap memory during request processing before being freed at the end of the request.
If you really need to cleanup some headers to get more heap space during request processing, use a middleware and removeHeadersExcept(names) to remove some.
2024-09-11 17:56:25 +02:00
Mathieu Carbou
958f764c48 Merge pull request #100 from mathieucarbou/attributes
(feat) Add support for request attributes
2024-09-11 17:53:12 +02:00
Mathieu Carbou
d5a09d2ee9 (feat) Add support for request attributes
- request->setAttribute(name, val)
- request->hasAttribute(name)
- request->getAttribute(name, defaultValue)
2024-09-11 00:25:35 +02:00
Mathieu Carbou
88cb670d93 Revert "Update deprecation notices"
This reverts commit 7b560ec7c5.
2024-09-10 00:05:07 +02:00
Mathieu Carbou
7b560ec7c5 Update deprecation notices 2024-09-09 17:10:49 +02:00
Mathieu Carbou
3bdd6a9ada Code cleanup 2024-09-08 22:35:01 +02:00
Mathieu Carbou
244e592de3 typos 2024-09-08 12:11:03 +02:00
Mathieu Carbou
e45082fe86 doc 2024-09-07 20:50:36 +02:00
Mathieu Carbou
0c5e8dab3a doc update 2024-09-06 23:50:47 +02:00
Mathieu Carbou
d37e050006 Add __attribute__((unused)) 2024-09-06 13:11:00 +02:00
Mathieu Carbou
5173a00d3a fail-fast: false 2024-09-06 12:20:28 +02:00
Mathieu Carbou
343cd3d4c3 Fix CI 2024-09-06 12:17:56 +02:00
Mathieu Carbou
5e15b9330c update CI 2024-09-06 12:16:17 +02:00
Mathieu Carbou
a63694b33f update CI 2024-09-06 11:51:02 +02:00
Mathieu Carbou
2041c11f3f Merge pull request #96 from DRSDavidSoft/main
Fix minor typos
2024-09-06 10:19:29 +02:00
Mathieu Carbou
9dd95fa4e8 Merge branch 'main' into main 2024-09-06 10:14:38 +02:00
Mathieu Carbou
fed1a42008 Update gitignore 2024-09-05 23:10:34 +02:00
David Refoua
e3813b8747 fix typos 2024-09-05 10:36:27 +03:30
Mathieu Carbou
cec5afbc29 v3.2.4 2024-09-04 23:00:01 +02:00