test program of http server

Dependencies:   mbed mbed-rtos EthernetInterface HTTP_SERVER

Files at this revision

API Documentation at this revision

Comitter:
aktk
Date:
Wed Oct 21 19:29:00 2020 +0000
Commit message:
verified as it works on 06 dec 2016

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
HTTP_SERVER.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EthernetInterface.lib	Wed Oct 21 19:29:00 2020 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/mbed_official/code/EthernetInterface/#183490eb1b4a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HTTP_SERVER.lib	Wed Oct 21 19:29:00 2020 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/aktk/code/HTTP_SERVER/#84aca9965f9f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Oct 21 19:29:00 2020 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "HTTP_SERVER.h"
+int main()
+{
+    HttpServer httpsvr;
+    if(httpsvr.init()){
+        if(httpsvr.run() == 0)
+            printf("end\r\n");
+        else
+            printf("error end\r\n");
+    }
+    return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-rtos.lib	Wed Oct 21 19:29:00 2020 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/mbed_official/code/mbed-rtos/#58563e6cba1e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Oct 21 19:29:00 2020 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb
\ No newline at end of file