excludeFromCache

fun excludeFromCache(block: (call: ApplicationCall, body: Any) -> Boolean)

Adds a filter to the DoubleReceive plugin. Can be called multiple times; if any of blocks returns true, a request body will not be cached in memory.