mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add comments
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user