tinyhttp
Loading...
Searching...
No Matches
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 charpath
 
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.

Member Function Documentation

◆ doLoop()

virtual void tinyhttp::ExtensionSDStreamed::doLoop ( )
inlineoverrideprotectedvirtual

Reimplemented from tinyhttp::Extension.

◆ open()

virtual void tinyhttp::ExtensionSDStreamed::open ( HttpServer server)
inlinevirtual

Reimplemented from tinyhttp::Extension.


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