Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
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 16:23:00 by
