.. _object_WebServerService: :index:`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**: :ref:`SystemService ` Overview ******** Properties ++++++++++ .. hlist:: :columns: 2 * :ref:`filesStorage ` * :ref:`SystemService.description ` * :ref:`SystemService.enabled ` * :ref:`SystemService.name ` * :ref:`SystemService.running ` * :ref:`SystemService.timeout ` * :ref:`Object.objectId ` * :ref:`Object.parent ` Methods +++++++ .. hlist:: :columns: 1 * :ref:`SystemService.restart() ` * :ref:`SystemService.start() ` * :ref:`SystemService.stop() ` * :ref:`Object.deserializeProperties() ` * :ref:`Object.fromJson() ` * :ref:`Object.serializeProperties() ` * :ref:`Object.toJson() ` Signals +++++++ .. hlist:: :columns: 1 * :ref:`Object.completed() ` Properties ********** .. _property_WebServerService_filesStorage: .. _signal_WebServerService_filesStorageChanged: .. index:: single: filesStorage 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**: :ref:`WebServerFilesStorage ` :**› Signal**: filesStorageChanged() :**› Attributes**: Readonly Example ******* See :ref:`SystemService example ` on how to use WebServerService.