excludeFromCache

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

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.

Report a problem