Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: net 1-wire lpc1768 crypto clock web fram log
web-derived/boiler/web-boiler-script.c
- Committer:
- andrewboyson
- Date:
- 2019-04-27
- Revision:
- 49:9491c966dc60
- Parent:
- http-derived/boiler/http-boiler-script.c@ 48:6eac12df3ad5
- Child:
- 51:c7c6ce0d57ad
File content as of revision 49:9491c966dc60:
#include "http.h"
#include "web-derived.h"
#include "web-base.h"
//Use http://tomeko.net/online_tools/cpp_text_escape.php to convert from text to c-multiline
//Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text
static const char* script =
#include "../../web-base/base/web-ajax-class.inc"
#include "../../1-wire/web/web-1wire-class.inc"
#include "web-boiler-script.inc"
;
const char* WebBoilerScriptDate = __DATE__;
const char* WebBoilerScriptTime = __TIME__;
void WebBoilerScript()
{
HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebBoilerScriptDate, WebBoilerScriptTime);
HttpAddText(script);
}