1.3 KiB
1.3 KiB
packwizjs / provider / UrlProvider
Class: UrlProvider
Defined in: provider.ts:7
Provides a base class for URL-based providers.
Extended by
Constructors
new UrlProvider()
new UrlProvider(
hash
,hashFormat
,url
):UrlProvider
Defined in: provider.ts:14
Creates a new UrlProvider instance.
Parameters
hash
string
A hash string used for identifying or verifying the resource.
hashFormat
The format of the provided hash.
url
A Resource instance representing the URL.
Returns
Properties
hash
hash:
string
Defined in: provider.ts:15
A hash string used for identifying or verifying the resource.
hashFormat
hashFormat:
HashFormat
Defined in: provider.ts:16
The format of the provided hash.
url
url:
Resource
Defined in: provider.ts:17
A Resource instance representing the URL.