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
Diff: handlers/ResponseMessenger.h
- Revision:
- 14:a16cdcd098d7
- Parent:
- 1:3a1fe94c6e42
--- a/handlers/ResponseMessenger.h Sun Mar 04 19:08:36 2018 +0000 +++ b/handlers/ResponseMessenger.h Fri Mar 16 22:45:47 2018 +0000 @@ -29,13 +29,13 @@ * @return char * @retval error code */ - char sendHTTPResponse(TCPSocketConnection&); + char sendHTTPResponse(TCPSocket&); /** * Function to send response messages. * @return char * @retval error code */ - char sendHTTPResponse(TCPSocketConnection&, FileHandler&); + char sendHTTPResponse(TCPSocket&, FileHandler&); private: // Status-Line static const char http_ver[9];