@@ -16,6 +16,7 @@ An asynchronous HTTP client library for ESP32 microcontrollers, built on top of
1616- ✅ ** Multiple HTTP methods** - GET, POST, PUT, DELETE, HEAD, PATCH support
1717- ✅ ** Custom headers** - Set global and per-request headers
1818- ✅ ** Callback-based responses** - Success and error callbacks
19+ - ✅ ** Automatic cookies** - Captures ` Set-Cookie ` responses and replays them via ` Cookie ` on matching requests
1920- ✅ ** ESP32 only** – Arduino-ESP32 core 3.x required (core 2.x dropped; ESP8266 removed since 1.0.1)
2021- ✅ ** Simple API** - Easy to use with minimal setup
2122- ✅ ** Configurable timeouts** - Set custom timeout values
@@ -82,7 +83,7 @@ void setup() {
8283void loop () {
8384#if !ASYNC_TCP_HAS_TIMEOUT
8485 // If your AsyncTCP does NOT provide native timeouts, you must drive timeouts manually
85- // unless you build with -DASYNC_HTTP_ENABLE_AUTOLOOP (ESP32 only) .
86+ // unless you build with -DASYNC_HTTP_ENABLE_AUTOLOOP .
8687 // Either:
8788 // - Define ASYNC_HTTP_ENABLE_AUTOLOOP (ESP32): a tiny FreeRTOS task will call client.loop() for you; or
8889 // - Call client.loop() periodically here yourself (recommended every ~10-20ms when busy).
@@ -160,6 +161,11 @@ void setMaxParallel(uint16_t maxParallel);
160161
161162// Set User-Agent string
162163void setUserAgent(const char* userAgent);
164+
165+ // Cookie jar helpers
166+ void clearCookies();
167+ void setCookie(const char* name, const char* value, const char* path = "/", const char* domain = nullptr,
168+ bool secure = false);
163169```
164170
165171#### Callback Types
@@ -531,8 +537,6 @@ pio test -e esp32dev -f test_chunk_parse
531537
532538This project is licensed under the MIT License - see the [ LICENSE] ( LICENSE ) file for details.
533539
534- - Added: HEAD, PATCH
535-
536540## Contributing
537541
538542Contributions are welcome! Please feel free to submit a Pull Request.
0 commit comments