ktor-client-core / io.ktor.client.features.cache / HttpCache / Companion / prepare

prepare

fun prepare(block: Config.() -> Unit): HttpCache

Overrides HttpClientFeature.prepare

Builds a TFeature by calling the block with a TConfig config instance as receiver.