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.
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
mbed/mod/ModLocalFileSystem.h
- Committer:
- nyatla
- Date:
- 2013-07-09
- Revision:
- 43:a182f2b5ff41
- Parent:
- mbed/ModLocalFileSystem.h@ 17:f29e1ca90e3d
- Child:
- 48:00d211aac2ec
File content as of revision 43:a182f2b5ff41:
#pragma once //////////////////////////////////////////////////////////////////////////////// // ModRomFiles.h //////////////////////////////////////////////////////////////////////////////// #include "NyLPC_net.h" #include "ModBaseClass.h" namespace MiMic { class HttpdConnection; /** * This class is httpd module. * The class provide files on mbed LocalFile System. * The class provide 2 services. * <ul> * <li>lfile content provider.</li> * This is response of local file path. for example "/local/file.txt". full content of file. * <li>file list provider</li> * This is array of json response. for example, "/local/" * [{name:"name",size:"size",type:"type"}] * </ul> */ class ModLocalFileSystem:ModBaseClass { public: ModLocalFileSystem(const char* i_path); ModLocalFileSystem(); virtual ~ModLocalFileSystem(); void setParam(const char* i_path); bool execute(HttpdConnection& i_connection); }; }