Commit Graph

757 Commits

Author SHA1 Message Date
Mathieu Carbou
ea7a593b4e Fix AsyncStaticWebHandler to remove the wrong gzip stat feature which is not taking in consideration the frequency of each request. Expose instead a boolean flag to let the user control that. 2024-10-23 10:27:55 +02:00
Mathieu Carbou
147f342e84 added isWebSocketUpgrade(), isSSE(), isHTTP() methods 2024-10-23 10:13:58 +02:00
Mathieu Carbou
ab682fd838 Code cleanup: adding missing const keyword 2024-10-23 10:13:10 +02:00
Mathieu Carbou
4603a1ecbf updated templates 2024-10-16 22:51:08 +02:00
Mathieu Carbou
5aba428151 Update example 2024-10-16 22:33:10 +02:00
Mathieu Carbou
7923d93336 Added test case 2024-10-16 11:52:34 +02:00
Mathieu Carbou
cb4b4de36a v3.3.17 2024-10-15 21:33:27 +02:00
Mathieu Carbou
b17c9773ad Merge pull request #133 from mathieucarbou/issue-132
Issue 132
2024-10-15 21:32:30 +02:00
Mathieu Carbou
58c4c64dfd update example 2024-10-15 21:22:52 +02:00
Mathieu Carbou
a4237ae5e4 Wether 8266 or ESP32, static constexpr const char* ws used for literals 2024-10-15 21:18:55 +02:00
Mathieu Carbou
7fa622b3dc Revert "Fixed literals for ESP8266"
This reverts commit 65906f7419.
2024-10-15 21:17:13 +02:00
Mathieu Carbou
07788ecd08 pio file update 2024-10-15 21:16:46 +02:00
Mathieu Carbou
d6ce30f2b7 update example 2024-10-15 11:22:07 +02:00
Mathieu Carbou
139099ebd9 v3.3.16 2024-10-15 10:18:52 +02:00
Mathieu Carbou
65906f7419 Fixed literals for ESP8266 2024-10-15 10:18:15 +02:00
Mathieu Carbou
272bd65c19 updated perf tests 2024-10-14 11:38:40 +02:00
Mathieu Carbou
b788fafc9c v3.3.15 2024-10-14 11:36:17 +02:00
Mathieu Carbou
863a8bcd18 Merge pull request #131 from mathieucarbou/headers
Some code cleanup
2024-10-14 11:34:24 +02:00
Mathieu Carbou
5b9469073b code cleanup 2024-10-14 11:28:05 +02:00
Mathieu Carbou
865f1e852a arduino/arduino-lint-action@v2 2024-10-14 08:56:40 +02:00
Mathieu Carbou
fd3786108d doc update 2024-10-14 00:37:21 +02:00
Mathieu Carbou
f3265e3105 doc update 2024-10-14 00:32:26 +02:00
Mathieu Carbou
7e1bc0c63c doc update 2024-10-14 00:22:31 +02:00
Mathieu Carbou
01c691b36a AsyncTCPSock support 2024-10-14 00:05:31 +02:00
Mathieu Carbou
77f90b6407 Added perf tests 2024-10-13 15:45:25 +02:00
Mathieu Carbou
40e5e7bcc2 v3.3.14 2024-10-13 12:09:40 +02:00
Mathieu Carbou
b2cf63066a mathieucarbou/AsyncTCP @ 3.2.10 2024-10-13 11:47:13 +02:00
Mathieu Carbou
69748e4035 v3.3.13 2024-10-12 21:08:53 +02:00
Mathieu Carbou
1a9aba2349 mathieucarbou/AsyncTCP @ 3.2.9 2024-10-12 21:04:37 +02:00
Mathieu Carbou
7b39f0e050 Removed wrong comments 2024-10-11 08:40:16 +02:00
Mathieu Carbou
a2fde75b8b Domain move 2024-10-08 11:53:51 +02:00
Mathieu Carbou
dcd50e6320 mathieucarbou/AsyncTCP @ 3.2.8 2024-10-07 14:36:16 +02:00
Mathieu Carbou
523edc16ef mathieucarbou/AsyncTCP @ 3.2.7 2024-10-07 14:24:25 +02:00
Mathieu Carbou
2bae2a8086 v3.3.12 2024-10-05 23:16:55 +02:00
Mathieu Carbou
a8a314427b v3.3.11 2024-10-04 13:28:48 +02:00
Mathieu Carbou
f1b086a234 Merge pull request #124 from mathieucarbou/ws
Improved WebSocket API to get feedback whether message is enqueued
2024-10-04 13:27:59 +02:00
Mathieu Carbou
afe9e1f82d Improved WebSocket API to get feedback whether message is enqueued
- Now returns bool on client send() methods
    - Now returns SendStatus on global send() methods
2024-10-04 12:56:05 +02:00
Mathieu Carbou
c2ac7b2518 Updated enum constants 2024-10-04 12:49:55 +02:00
Mathieu Carbou
b22e98317f Merge pull request #123 from mathieucarbou/ws
Several improvements
2024-10-04 12:08:08 +02:00
Mathieu Carbou
fadb0d37b8 Protect against null _client 2024-10-04 11:44:54 +02:00
Mathieu Carbou
a3b67f1031 Code cleanup 2024-10-04 11:25:38 +02:00
Mathieu Carbou
faf74ac36b Merge pull request #122 from mathieucarbou/sse
Improved SSE API to get feedback whether message is enqueued and also on client disconnect
2024-10-04 10:47:48 +02:00
Mathieu Carbou
a0c37a65ab Improved SSE API to get feedback whether message is enqueued and also on client disconnect
Idea taken from PR https://github.com/esphome/ESPAsyncWebServer/pull/43 by @nkinnan

- Now returns bool on client send() / write() methods
- Now returns SendStatus on AsyncEventSource send() methods
- Added AsyncEventSource.onDisconnect()
2024-10-04 10:13:13 +02:00
Mathieu Carbou
3fbbef4213 Little cleanups and added partition file 2024-10-03 20:49:22 +02:00
Mathieu Carbou
8e86039fee v3.3.10 2024-10-03 01:28:28 +02:00
Mathieu Carbou
77456a184b AuthenticationMiddleware fix 2024-10-03 01:28:02 +02:00
Mathieu Carbou
13cf6e223c v3.3.9 2024-10-03 01:25:29 +02:00
Mathieu Carbou
4843a55e59 AuthenticationMiddleware bug fixes 2024-10-03 01:07:59 +02:00
Mathieu Carbou
6884bb74a6 v3.3.8 2024-10-03 00:47:39 +02:00
Mathieu Carbou
fb555c99dd mathieucarbou/AsyncTCP @ 3.2.6 2024-10-03 00:45:00 +02:00