Port of LwIP performed by Ralf in 2010. Not recommended for use with recent mbed libraries, but good demos of raw LwIP possible

Dependents:   LwIP_raw_API_serverExample tiny-dtls

Embed: (wiki syntax)

« Back to documentation index

HTTPStaticPage Class Reference

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.