RawService

interface RawService

Useful methods to fetch raw data from the server. The access token will not be used to fetched the data

Functions

Link copied to clipboard
abstract suspend fun clearCache()

Clear all the cache data.

Link copied to clipboard
abstract suspend fun getUrl(url: String, cacheStrategy: CacheStrategy): String

Get a URL, either from cache or from the remote server, depending on the cache strategy.

Link copied to clipboard
abstract suspend fun getWellknown(domain: String): String

Specific case for the well-known file. Cache validity is 8 hours.