tinyhttp
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tinyhttp::ExtensionSD Class Reference

Extension which serves the files which are available on the SD card We return the full file content - so use this class only for small files! More...

#include <ExtensionSD.h>

Inheritance diagram for tinyhttp::ExtensionSD:
tinyhttp::Extension

Public Member Functions

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

Protected Member Functions

void setupSD ()
 
- Protected Member Functions inherited from tinyhttp::Extension
virtual void doLoop ()
 

Protected Attributes

bool is_open = false
 
const charpath
 
int sd_cs
 

Detailed Description

Extension which serves the files which are available on the SD card We return the full file content - so use this class only for small files!

Member Function Documentation

◆ open()

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

Reimplemented from tinyhttp::Extension.


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