mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-02-04 14:15:05 +01:00
Make response stream to not require content length
Update the example in ReadMe as well
This commit is contained in:
@@ -72,7 +72,7 @@ class AsyncResponseStream: public AsyncAbstractResponse, public Print {
|
||||
private:
|
||||
cbuf *_content;
|
||||
public:
|
||||
AsyncResponseStream(String contentType, size_t len, size_t bufferSize);
|
||||
AsyncResponseStream(String contentType, size_t bufferSize);
|
||||
~AsyncResponseStream();
|
||||
bool _sourceValid(){ return (_state < RESPONSE_END); }
|
||||
size_t _fillBuffer(uint8_t *buf, size_t maxLen);
|
||||
|
||||
Reference in New Issue
Block a user