new Downloadable(url)
Creates an object that can be downloaded by the downloader.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | URL that has to be requested for the object |
- Source:
Members
downloadCount :number
Number indicating how often the object was downloaded.
Type:
- number
- Source:
hardExpiration :number
Hard expiration interval; this is fixed.
Type:
- number
- Source:
lastCheck :number
Time of last check whether the object needs downloading.
Type:
- number
- Source:
lastError :number
Time of last download error or 0 if the last download was successful.
Type:
- number
- Source:
lastVersion :number
Object version corresponding to the last successful download.
Type:
- number
- Source:
(nullable) redirectURL :string
URL that the download was redirected to if any.
Type:
- string
- Source:
softExpiration :number
Soft expiration interval; will increase if no checks are performed for a
while.
Type:
- number
- Source:
url :string
URL that has to be requested for the object.
Type:
- string
- Source: