Embedded WebSockets Experiment
HTTPStaticPage Class Reference
This class Provide a Handler to send Static HTTP Pages from the bin file. More...
#include <HTTPStaticPage.h>
Public Member Functions | |
HTTPStaticPage (const char *path, const char *page, int length=0) | |
Constructer takes the pagename and the pagedata. |
Detailed Description
This class Provide a Handler to send Static HTTP Pages from the bin file.
Definition at line 17 of file HTTPStaticPage.h.
Constructor & Destructor Documentation
HTTPStaticPage | ( | const char * | path, |
const char * | page, | ||
int | length = 0 |
||
) |
Constructer takes the pagename and the pagedata.
As long as the pagedata is NULL terminated you have not to tell the data length. But if you want to send binary data you should tell us the size.
Definition at line 24 of file HTTPStaticPage.h.
Generated on Wed Jul 13 2022 23:42:34 by 1.7.2