mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
add ESP8266WebServer::send_P with contentLength argument
This commit is contained in:
@ -90,6 +90,7 @@ public:
|
||||
void send(int code, char* content_type, const String& content);
|
||||
void send(int code, const String& content_type, const String& content);
|
||||
void send_P(int code, PGM_P content_type, PGM_P content);
|
||||
void send_P(int code, PGM_P content_type, PGM_P content, size_t contentLength);
|
||||
|
||||
void setContentLength(size_t contentLength) { _contentLength = contentLength; }
|
||||
void sendHeader(const String& name, const String& value, bool first = false);
|
||||
|
Reference in New Issue
Block a user