Cache

abstract class Cache

A cache used for storing HTTP responses.

Since

200.2.0

Parameters

directory

the directory in which to store the cache

maxSize

the maximum size of the cache in bytes. Must be greater than 0.

Throws

if maxSize is less than or equal to 0.

Functions

Link copied to clipboard
abstract fun evictAll()

Clears the cache.