Rule

data class Rule(val method: Http.Method?, val url: String? = null, val headers: Http.Headers? = null)

Constructors

Link copied to clipboard
constructor(method: Http.Method?, url: String? = null, headers: Http.Headers? = null)

Properties

Link copied to clipboard
val headers: Http.Headers? = null
Link copied to clipboard
Link copied to clipboard
val url: String? = null

Functions

Link copied to clipboard
fun matches(method: Http.Method, url: String, headers: Http.Headers, content: ByteArray?): Boolean