mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-02-05 22:55:12 +01:00
make response stream e sendable later and the buffer size to be specifiable
This commit is contained in:
@@ -61,7 +61,7 @@ class AsyncResponseStream: public AsyncAbstractResponse, public Print {
|
||||
private:
|
||||
cbuf *_content;
|
||||
public:
|
||||
AsyncResponseStream(String contentType, size_t len);
|
||||
AsyncResponseStream(String contentType, size_t len, 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