getImageRequestHeaders

abstract suspend fun getImageRequestHeaders(url: String): Map<String, String>

Returns a map of headers to be used for the image loading request.

Always called on kotlinx.coroutines.Dispatchers.IO, so blocking operations are safe.

Return

A map of headers to be used for the image loading request.

Parameters

url

The URL of the image to load.