Skip to content

Commit

Permalink
ESP8266 Web Server: Fix missing implementation of send stream by refe…
Browse files Browse the repository at this point in the history
…rence (#8533)
  • Loading branch information
MichaelBell authored Apr 8, 2022
1 parent 584d2f2 commit 684156d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/ESP8266WebServer/src/ESP8266WebServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ class ESP8266WebServerTemplate
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);
Expand Down

0 comments on commit 684156d

Please # to comment.