GetDerivedResourceOptions

external interface GetDerivedResourceOptions(source)

Properties

Link copied to clipboard
abstract external val headers: JsAny?

Additional HTTP headers that will be sent. Default value - {}

Link copied to clipboard
abstract external val preserveQueryParameters: Boolean?

If true, this will keep all query parameters from the current resource and derived resource. If false, derived parameters will replace those of the current resource. Default value - false

Link copied to clipboard
abstract external val proxy: Proxy?

A proxy to be used when loading the resource.

Link copied to clipboard
abstract external val queryParameters: JsAny?

An object containing query parameters that will be combined with those of the current instance.

Link copied to clipboard
abstract external val request: Request?

A Request object that will be used. Intended for internal use only.

Link copied to clipboard
abstract external val retryAttempts: Int?

The number of times the retryCallback should be called before giving up.

Link copied to clipboard
abstract external val retryCallback: RetryCallback?

The function to call when loading the resource fails.

Link copied to clipboard
abstract external val templateValues: JsAny?

Key/Value pairs that are used to replace template values (eg. {x}). These will be combined with those of the current instance.

Link copied to clipboard
abstract external val url: String?

The url that will be resolved relative to the url of the current instance.