Skip to content

sticilface/HTTPPrinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Andrew MelvinAndrew Melvin
Andrew Melvin
and
Andrew Melvin
Oct 24, 2015
42c99c6 · Oct 24, 2015

History

5 Commits
Oct 24, 2015
Oct 24, 2015
Oct 24, 2015
Oct 24, 2015

Repository files navigation

HTTPPrinter

This is a library that allows you to inject dynamic content into SPIFFS files, for ESP8266 environment.

The SPIFFS upload tool must be used to upload the contents of the data directory to the ESP.

Create object :

HTTPPrinter printer; 

Then in webpage callback,

WiFiClient c = HTTP.client();
printer.BeginPage(c, SPIFFS, "/file", 30);   
printer.AddVariable(0, "version",   version);  
printer.SendPage(); // sends the page, reclaims the memory.. 

About

Dynamic webpage generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages