The lib with which to make LPC1768 a simple HTTP server. This have not yet implemented. fopen() DOESN'T WORK after EthernetInterface::connect() is called as using mbed-os 5.4~. See also https://os.mbed.com/questions/80658/HardFault-occurs-when-fopen-is-called-af/ or https://github.com/ARMmbed/mbed-os/issues/6578 and https://github.com/ARMmbed/mbed-os/issues/6624
Fork of HTTP_SERVER by
HttpServer Class Reference
HttpServer class. More...
#include <HTTP_SERVER.h>
Public Member Functions | |
bool | init () |
HTTP SERVER Initialization. | |
bool | run () |
Run the surver service while listening flag is true. |
Detailed Description
HttpServer class.
This is the class to make a mbed a simple HTTP Server.
Definition at line 20 of file HTTP_SERVER.h.
Member Function Documentation
bool init | ( | ) |
HTTP SERVER Initialization.
This function should be called first of all.
- Returns:
- result of init() as boolean.
- Return values:
-
TRUE SACCESS FALSE
Definition at line 91 of file HTTP_SERVER.cpp.
bool run | ( | ) |
Run the surver service while listening flag is true.
- Returns:
- state ending.
- Return values:
-
TRUE at error end. FALSE at normal end.
Definition at line 130 of file HTTP_SERVER.cpp.
Generated on Fri Jul 15 2022 08:17:44 by 1.7.2