add chunked to simple sends

This commit is contained in:
Me No Dev
2016-01-27 19:55:35 +02:00
parent 31a699a46f
commit 3cdefde295
2 changed files with 9 additions and 4 deletions
+1
View File
@@ -163,6 +163,7 @@ class AsyncWebServerRequest {
void send(FS &fs, String path, String contentType=String(), bool download=false);
void send(Stream &stream, String contentType, size_t len);
void send(String contentType, size_t len, AwsResponseFiller callback);
void sendChunked(String contentType, AwsResponseFiller callback);
AsyncWebServerResponse *beginResponse(int code, String contentType=String(), String content=String());
AsyncWebServerResponse *beginResponse(FS &fs, String path, String contentType=String(), bool download=false);