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:
parent
584d2f2392
commit
684156d211
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user