createSignedUrl

abstract suspend fun createSignedUrl(path: String, expiresIn: Duration, transform: ImageTransformation.() -> Unit = {}): String(source)

Creates a signed url to download without authentication. The url will expire after expiresIn

Return

The url to download the file

Parameters

path

The path to create an url for

expiresIn

The duration the url is valid

transform

The transformation to apply to the image

Throws

or one of its subclasses if receiving an error response

HttpRequestTimeoutException

if the request timed out

on network related issues