Default

Cache with the default TTL (no explicit TTL sent to Bedrock).

Functions

Link copied to clipboard
inline fun <T : CacheControl> CacheControl.require(): T

Requires this CacheControl to be of the specified type T, or throws an IllegalStateException.