HttpRepository

Description

The HttpRepository object provides a specialized Repository object for fetching resources from HTTP servers. In combination with an UpdateManager it can be used to implement online updates mechanisms. See the UpdateManager example for details.

› Inherits:

Repository

Overview

Properties

Methods

Signals

Enumerations

Properties

timeout

This property holds the timeout for HTTP responses (i.e. complete file downloads).

› Type:

SignedInteger

› Signal:

timeoutChanged()

› Attributes:

Writable

url

This property holds the URL of the HTTP repository.

› Type:

String

› Signal:

urlChanged()

› Attributes:

Writable

Example

import InCore.Foundation 2.5
import InCore.Http 2.5

Application {

    UpdateManager {
        repositories: [
            HttpRepository {
                url: "https://updates.inhub.de"
            }
        ]
    }

}