WebServerService

Description

The WebServerService object represents the Nginx web server service. When enabled/started the device can be accessed via HTTP. The directory /apps/www is used as the webserver’s root directory.

› Inherits:SystemService

Properties

filesStorage

This property holds a storage which can be used to store dynamically generated files which are accessible through the /incore location, e.g. http://192.168.123.1/incore/foo.csv.

This property was introduced in InCore 2.1.

› Type:WebServerFilesStorage
› Signal:filesStorageChanged()
› Attributes:Readonly

Example

See SystemService example on how to use WebServerService.