CDN

interface CDN

Class defining a CDN (Content Delivery Network) interface. Override to transform requests loading images/files from the custom CDN.

Functions

Link copied to clipboard
open suspend fun fileRequest(url: String): CDNRequest

Transforms a request for loading a non-image file from the CDN.

Link copied to clipboard
open suspend fun imageRequest(url: String): CDNRequest

Transforms a request for loading an image from the CDN.