esphome / ESPAsyncWebServer

Async Web Server for ESP8266 and ESP32
81 stars 62 forks source link

Allow arbitrary user data #15

Open mincequi opened 1 year ago

mincequi commented 1 year ago

Hi there,

since the regular chunked response was not enough for me (because my chunks are randomly placed in memory), I added some functionality to be able to feed some user data to the filler class (an index in my case. written bytes would not be enough). Please check out the example what this change allows you to do.

Hopefully, this is interesting for you.

Best regards Manuel