WebServerFilesStorage¶
Description¶
The WebServerFilesStorage object provides access to data files served by a WebServerService. It can be used to implement apps which dynamically generate downloadable content which is accessible through the web server at the /incore
location, e.g. http://192.168.123.1/incore/foo.csv
.
This object was introduced in InCore 2.1.
› Inherits: | Storage |
---|
Properties¶
persistent¶
This property defines whether to store files on this storage persistently. When set to false
all files are stored in memory only (similar to InMemoryStorage) and are lost on every restart of the device. Otherwise files are stored on the data partition of the local device (similar to LocalStorage).
› Type: | Boolean |
---|---|
› Default: | false |
› Signal: | persistentChanged() |
› Attributes: | Writable |