RSeries astromech firmware
WAPI Class Reference

#include <wifi/WifiWebServer.h>

+ Inheritance diagram for WAPI:
+ Collaboration diagram for WAPI:

Public Member Functions

 WAPI (String url, void(*apiProc)(Print &out, String queryString))
 
- 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

◆ WAPI()

WAPI::WAPI ( String  url,
void(*)(Print &out, String queryString)  apiProc 
)
inline

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