add comments

This commit is contained in:
proddy
2024-07-18 15:00:25 +02:00
parent ce84aae950
commit 3af3d3f0d8
2 changed files with 2 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ class ChunkPrint : public Print {
} }
}; };
// added msgPack by Proddy // added msgPack by proddy for EMS-ESP
class AsyncJsonResponse : public AsyncAbstractResponse { class AsyncJsonResponse : public AsyncAbstractResponse {
protected: protected:
JsonDocument _jsonBuffer; JsonDocument _jsonBuffer;

View File

@@ -329,9 +329,7 @@ class AsyncWebServerRequest {
AsyncResponseStream * beginResponseStream(const String & contentType, size_t bufferSize = 1460); AsyncResponseStream * beginResponseStream(const String & contentType, size_t bufferSize = 1460);
AsyncWebServerResponse * beginResponse_P(int code, const String & contentType, const uint8_t * content, size_t len, AwsTemplateProcessor callback = nullptr); AsyncWebServerResponse * beginResponse_P(int code, const String & contentType, const uint8_t * content, size_t len, AwsTemplateProcessor callback = nullptr);
AsyncWebServerResponse * beginResponse_P(int code, const String & contentType, PGM_P content, AwsTemplateProcessor callback = nullptr); AsyncWebServerResponse * beginResponse_P(int code, const String & contentType, PGM_P content, AwsTemplateProcessor callback = nullptr);
AsyncWebServerResponse * beginResponse(const String & contentType, const uint8_t * content, size_t len); // added by proddy for EMS-ESP
// added by proddy for EMS-ESP
AsyncWebServerResponse * beginResponse(const String & contentType, const uint8_t * content, size_t len);
size_t headers() const; // get header count size_t headers() const; // get header count
bool hasHeader(const String & name) const; // check if header exists bool hasHeader(const String & name) const; // check if header exists