RateLimitMatchResponse

data class RateLimitMatchResponse(val headers: List<Map<String, String>>? = null, val originTraffic: Boolean? = null, val statuses: List<Int>? = null)

Constructors

Link copied to clipboard
constructor(headers: List<Map<String, String>>? = null, originTraffic: Boolean? = null, statuses: List<Int>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val headers: List<Map<String, String>>? = null

List of HTTP headers maps to match the origin response on.

Link copied to clipboard
val originTraffic: Boolean? = null

Only count traffic that has come from your origin servers. If true, cached items that Cloudflare serve will not count towards rate limiting.

Link copied to clipboard
val statuses: List<Int>? = null

HTTP Status codes, can be one, many or indicate all by not providing this value.