mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-28 00:40:54 +02:00
Fix #16: Add overflowed()
This commit is contained in:
@@ -137,7 +137,11 @@ class AsyncJsonResponse : public AsyncAbstractResponse {
|
|||||||
return _contentLength;
|
return _contentLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t getSize() { return _jsonBuffer.size(); }
|
size_t getSize() const { return _jsonBuffer.size(); }
|
||||||
|
|
||||||
|
#if ARDUINOJSON_VERSION_MAJOR >= 6
|
||||||
|
bool overflowed() const { return _jsonBuffer.overflowed(); }
|
||||||
|
#endif
|
||||||
|
|
||||||
size_t _fillBuffer(uint8_t* data, size_t len) {
|
size_t _fillBuffer(uint8_t* data, size_t len) {
|
||||||
ChunkPrint dest(data, _sentLength, len);
|
ChunkPrint dest(data, _sentLength, len);
|
||||||
|
Reference in New Issue
Block a user