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

EnableRequest

data class EnableRequest

Request object containing input parameters for the FetchDomain.enable command.

Constructors

<init>

Request object containing input parameters for the FetchDomain.enable command.

EnableRequest(patterns: List<RequestPattern>? = null, handleAuthRequests: Boolean? = null)

Properties

handleAuthRequests

If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.

val handleAuthRequests: Boolean?

patterns

If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

val patterns: List<RequestPattern>?