Options for building http resources.

Hierarchy

  • HttpUriOptions

Properties

allowedUris: (string | RegExp | ((uri) => boolean))[]

List of allowed URIs (resp. the beginning of them).

cacheLocation?: string | false

Location where resource content is stored for lockfile entries. It's also possible to disable storing by passing false.

frozen?: boolean

When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.

lockfileLocation?: string

Location of the lockfile.

proxy?: string

Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.

upgrade?: boolean

When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.

Generated using TypeDoc