HTTP Server library for Mbed OS-5. A fork of Henry Leinen's [[https://os.mbed.com/users/leihen/code/HTTPServer/]] library.
Dependents: STM32F407VET6_HTTPServer
Diff: Handler/FsHandler.h
- Revision:
- 17:8bcc62289a07
- Parent:
- 5:dc88012caef1
--- a/Handler/FsHandler.h Sat Aug 17 16:17:55 2013 +0000 +++ b/Handler/FsHandler.h Sun Oct 06 18:10:41 2019 +0000 @@ -44,7 +44,7 @@ * @param Msg : Message request information that comes with the request. * @param Tcp : The socket connection for communicating with the client. */ - HTTPFsRequestHandler(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& Msg, TCPSocketConnection& Tcp); + HTTPFsRequestHandler(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& Msg, TCPSocket* Tcp); /** Destructor */ @@ -52,7 +52,7 @@ /** static creation function for this object. */ - static inline HTTPRequestHandler* create(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& msg, TCPSocketConnection& tcp) { return new HTTPFsRequestHandler(rootPath, localPath, msg, tcp); } + static inline HTTPRequestHandler* create(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& msg, TCPSocket* tcp) { return new HTTPFsRequestHandler(rootPath, localPath, msg, tcp); } /** Handler function to serve GET requests */ @@ -77,5 +77,7 @@ /** Parse a uri string for uri file name and argument:value pairs */ int parseUriArgs(string uri, map<string, string>& args); + + uint32_t get_http_param_value(char* param_name); }; -#endif // __FSHANDLER_H__ \ No newline at end of file +#endif // __FSHANDLER_H__