PackwizJS/docs/provider/classes/UrlProvider.md
2025-02-09 10:00:02 -06:00

1.3 KiB

packwizjs


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

HashFormat

The format of the provided hash.

url

Resource

A Resource instance representing the URL.

Returns

UrlProvider

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.