ImageClient

Gets and caches an image file by urlString after invoke of ImageClient instance.

Example:

val image = ImageClient(urlString) // instantiate and request response from URL

Functions

Link copied to clipboard
suspend operator fun invoke(urlString: String): ByteArray?

invoke requests a HttpResponse from a url using the ImageClient.