chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.fetch / RequestPattern

RequestPattern

data class RequestPattern

Constructors

<init>

RequestPattern(urlPattern: String? = null, resourceType: ResourceType? = null, requestStage: RequestStage? = null)

Properties

requestStage

Stage at wich to begin intercepting requests. Default is Request.

val requestStage: RequestStage?

resourceType

If set, only requests for matching resource types will be intercepted.

val resourceType: ResourceType?

urlPattern

Wildcards ('' -> zero or more, '?' -> exactly one) are allowed. Escape character isbackslash. Omitting is equivalent to "".

val urlPattern: String?