DownloadOptionBuilder

class DownloadOptionBuilder(transform: ImageTransformation.() -> Unit = {}, httpRequestOverrides: MutableList<HttpRequestOverride> = mutableListOf()) : BucketUrlBuilder(source)

Builder for downloading files with additional options

Constructors

Link copied to clipboard
constructor(transform: ImageTransformation.() -> Unit = {}, httpRequestOverrides: MutableList<HttpRequestOverride> = mutableListOf())

Properties

Link copied to clipboard
open override var cacheNonce: String?

Append a cache nonce parameter to the URL to invalidate the cache.

Functions

Link copied to clipboard
fun httpOverride(override: HttpRequestOverride)

Overrides the HTTP request

Link copied to clipboard
fun transform(transform: ImageTransformation.() -> Unit)

Transforms the image before downloading