This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
ModUrl Class Reference
This class is a module for Httpd. More...
#include <ModUrl.h>
Public Member Functions | |
ModUrl () | |
Constructor. | |
bool | execute (HttpdConnection &i_connection, char *o_url_buf, int i_buf_len, int *o_method_type=NULL) |
This function processes a request. |
Detailed Description
This class is a module for Httpd.
The class parses a request path to buffer from connection.
Definition at line 16 of file ModUrl.h.
Constructor & Destructor Documentation
ModUrl | ( | ) |
Constructor.
Definition at line 6 of file ModUrl.cpp.
Member Function Documentation
bool execute | ( | HttpdConnection & | i_connection, |
char * | o_url_buf, | ||
int | i_buf_len, | ||
int * | o_method_type = NULL |
||
) |
This function processes a request.
- Parameters:
-
i_connection o_url_buf Output parametor. Address of buffer which accept URL string. The string will be "" (zero text) if URL too long or parsing failed. i_buf_len Size of o_url buffer in byte. o_method_type Address of variable which accept HTTP-Method type. Can be omitted.
- Returns:
- TRUE if request was processed. otherwise FALSE. The value describes processing status. It is not parsing error status.
Definition at line 12 of file ModUrl.cpp.
Generated on Tue Jul 12 2022 15:46:18 by 1.7.2