.. _object_HttpRepository: :index:`HttpRepository` ----------------------- Description *********** The HttpRepository object provides a specialized :ref:`Repository ` object for fetching resources from HTTP servers. In combination with an :ref:`UpdateManager ` it can be used to implement online updates mechanisms. See the :ref:`UpdateManager example ` for details. :**› Inherits**: :ref:`Repository ` Overview ******** Properties ++++++++++ .. hlist:: :columns: 1 * :ref:`timeout ` * :ref:`url ` * :ref:`Repository.error ` * :ref:`Repository.errorString ` * :ref:`Object.objectId ` * :ref:`Object.parent ` Methods +++++++ .. hlist:: :columns: 1 * :ref:`Object.deserializeProperties() ` * :ref:`Object.fromJson() ` * :ref:`Object.serializeProperties() ` * :ref:`Object.toJson() ` Signals +++++++ .. hlist:: :columns: 1 * :ref:`Repository.errorOccurred() ` * :ref:`Object.completed() ` Enumerations ++++++++++++ .. hlist:: :columns: 1 * :ref:`Repository.Error ` Properties ********** .. _property_HttpRepository_timeout: .. _signal_HttpRepository_timeoutChanged: .. index:: single: timeout timeout +++++++ This property holds the timeout for HTTP responses (i.e. complete file downloads). :**› Type**: SignedInteger :**› Signal**: timeoutChanged() :**› Attributes**: Writable .. _property_HttpRepository_url: .. _signal_HttpRepository_urlChanged: .. index:: single: url url +++ This property holds the URL of the HTTP repository. :**› Type**: String :**› Signal**: urlChanged() :**› Attributes**: Writable .. _example_HttpRepository: Example ******* .. code-block:: qml import InCore.Foundation 2.5 import InCore.Http 2.5 Application { UpdateManager { repositories: [ HttpRepository { url: "https://updates.inhub.de" } ] } }