test program of http server
Dependencies: mbed mbed-rtos EthernetInterface HTTP_SERVER
main.cpp
- Committer:
- aktk
- Date:
- 2020-10-21
- Revision:
- 0:2a0ad778ce0f
File content as of revision 0:2a0ad778ce0f:
#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; }