Package-level declarations

Types

Link copied to clipboard
data class CacheData(val url: String, val response: String, val retrievedAt: Instant, val lastModified: Instant)

Represents a cached API response along with its associated metadata.

Link copied to clipboard
data class CachePolicy(val percent: Double, val expiry: Duration)

Defines how cached responses are evaluated for freshness.

Link copied to clipboard
data class SQLiteCache(path: Path)

A simple SQLite-backed cache for storing HTTP query responses.