1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-03 07:02:28 +03:00

ESP8266 Web Server: Fix missing implementation of send stream by reference (#8533)

This commit is contained in:
Mike Bell 2022-04-08 06:55:02 +01:00 committed by GitHub
parent 584d2f2392
commit 684156d211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,7 +171,9 @@ public:
void send_P(int code, PGM_P content_type, PGM_P content, size_t contentLength);
void send(int code, const char* content_type, Stream* stream, size_t content_length = 0);
void send(int code, const char* content_type, Stream& stream, size_t content_length = 0);
void send(int code, const char* content_type, Stream& stream, size_t content_length = 0) {
send(code, content_type, &stream, content_length);
}
void setContentLength(const size_t contentLength);
void sendHeader(const String& name, const String& value, bool first = false);