This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
ModRemoteMcu Class Reference
This class is a module for Httpd. More...
#include <ModRemoteMcu.h>
Inherits MiMic::ModBaseClass.
Public Member Functions | |
ModRemoteMcu (const char *i_path) | |
Constructor with parameter initialization. | |
ModRemoteMcu () | |
Default constructor. | |
bool | execute (HttpdConnection &i_connection) |
This function processes a request. | |
Private Member Functions | |
virtual bool | canHandle (HttpdConnection &i_connection) |
URLとパスプレフィクスi_pathを比較して、処理対象のURLかを計算します。 URLに'/i_path/'を含むパスを処理対象とみなします。 |
Detailed Description
This class is a module for Httpd.
The class provides an REST-API to execute MiMic ByteCode. The class is wrapper of NyLPC_TcModRemoteMcu class.
Definition at line 18 of file ModRemoteMcu.h.
Constructor & Destructor Documentation
ModRemoteMcu | ( | const char * | i_path ) |
Constructor with parameter initialization.
Definition at line 6 of file ModRemoteMcu.cpp.
ModRemoteMcu | ( | ) |
Default constructor.
Must be call setParam function after constructed.
Definition at line 9 of file ModRemoteMcu.cpp.
Member Function Documentation
bool execute | ( | HttpdConnection & | i_connection ) |
This function processes a request.
The function checks whether a connection has a target request. If necessary, it will transmit a response.
- Returns:
- TRUE if request was processed. otherwise FALSE.
Definition at line 19 of file ModRemoteMcu.cpp.
Generated on Tue Jul 12 2022 15:46:18 by 1.7.2