LionStreams

Tiny Arduino Stream adapters: a String-backed stream and a chunk-flushing web-server stream.

Author
leva
Website
https://github.com/blah188/LionStreams
Category
Communication
License
NOASSERTION
Library Type
Contributed
Architectures
esp8266, esp32

StringStream is a read/write Stream view over an external String (non-owning — the String must outlive the stream; reset() rewinds the read cursor and clears the String). ServerStream is a write-only Stream that buffers Print output and flushes it in chunks via server.sendContent() on ESP8266WebServer / ESP32 WebServer, so large HTML pages stream out without holding the whole response in RAM (start a chunked/unknown-length response first and call flush() at the end). Both are header-only and non-copyable. For ESPAsyncWebServer use the built-in beginResponseStream() instead.

Downloads

Filename Release Date File Size
LionStreams-1.0.0.zip 2026-06-29 10.33 KiB