![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
test program of http server
Dependencies: mbed mbed-rtos EthernetInterface HTTP_SERVER
Diff: main.cpp
- Revision:
- 0:2a0ad778ce0f
--- /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