tinyhttp
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tinyhttp::ExtensionSDStreamed Class Reference

Extension which serves the files which are available on the SD card The content is returned in chunks via the processing loop. More...

#include <ExtensionSDStreamed.h>

Inheritance diagram for tinyhttp::ExtensionSDStreamed:
tinyhttp::Extension

Public Member Functions

 ExtensionSDStreamed (const char *path="/*", int cspin=-1)
 
void cleanup ()
 
virtual void open (HttpServer *server)
 

Protected Member Functions

virtual void doLoop () override
 
void getData (HttpServer *server_ptr, const char *requestPath, HttpRequestHandlerLine *hl)
 
void setupSD ()
 

Protected Attributes

bool is_open = false
 
List< HttpStreamCopy * > output
 
const char * path
 
int sd_cs
 

Detailed Description

Extension which serves the files which are available on the SD card The content is returned in chunks via the processing loop.


The documentation for this class was generated from the following file: