Я использовал HttpCache, но это не сработало
Код: Выделить всё
install(HttpCache) { val cacheFile = Files.createDirectories(Paths.get(System.getProperty("java.io.tmpdir"), "ktor_cache")).toFile() publicStorage(FileStorage(cacheFile)) }Подробнее здесь: https://stackoverflow.com/questions/790 ... -call-data
Мобильная версия