RSeries astromech firmware
WUpload Class Reference

#include <wifi/WifiWebServer.h>

+ Inheritance diagram for WUpload:
+ Collaboration diagram for WUpload:

Public Member Functions

 WUpload (String url, void(*completeProc)(Client &client), void(*uploaderProc)(WUploader &uploader))
 
- Public Member Functions inherited from WPage
 WPage (String url, const WElement contents[], unsigned numElements, String title="", String lang="en")
 
 WPage (String url, fs::FS *fs, String path, const WElement contents[], unsigned numElements)
 
 WPage (String url, fs::FS *fs, String mimeType)
 
const String & getURL () const
 
bool isGet () const
 
void handleGetRequest (Print &out, String &header) const
 
void callComplete (Client &client) const
 
void callUploader (WUploader &uploader) const
 

Additional Inherited Members

- Protected Member Functions inherited from WPage
fs::File openFileOrCompressed (String fileName, bool &compressed) const
 
- Protected Attributes inherited from WPage
String fURL
 
String fTitleOrPath
 
String fLanguageOrMimeType
 
fs::FS * fFS
 
uint8_t fFlags = 0
 
unsigned fNumElements
 
const WElementfContents
 
void(* fCompleteProc )(Client &client) = nullptr
 
void(* fUploaderProc )(WUploader &uploader) = nullptr
 
void(* fAPIProc )(Print &out, String queryString) = nullptr
 

Constructor & Destructor Documentation

◆ WUpload()

WUpload::WUpload ( String  url,
void(*)(Client &client)  completeProc,
void(*)(WUploader &uploader)  uploaderProc 
)
inline

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