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.
Dependents: oldheating gps motorhome heating
Diff: base/net/web-net6-script.c
- Revision:
- 110:8ab752842d25
- Child:
- 113:23507d14f927
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/base/net/web-net6-script.c Tue Apr 30 12:45:08 2019 +0000
@@ -0,0 +1,18 @@
+#include "http.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
+
+const char* WebNet6ScriptDate = __DATE__;
+const char* WebNet6ScriptTime = __TIME__;
+
+static const char* script =
+#include "../core/web-ajax-class.inc"
+#include "web-net-class.inc"
+#include "web-net6-script.inc"
+;
+void WebNet6Script()
+{
+ HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebNet6ScriptDate, WebNet6ScriptTime);
+ HttpAddText(script);
+}