forceDownload

open fun forceDownload(fileName: String? = null)(source)

Forces a download when opening the created url.

Parameters

fileName

Optional file name. Set this parameter as the name of the file if you want to trigger the download with a different filename.