Provides a base class for URL-based providers.

Hierarchy (View Summary)

Constructors

Properties

Constructors

  • 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 where the file can be downloaded from.

    Returns UrlProvider

Properties

hash: string

A hash string used for identifying or verifying the resource.

hashFormat: HashFormat

The format of the provided hash.

A Resource instance representing the URL where the file can be downloaded from.