pl.wendigo.chrome.api.fetch / EnableRequest

EnableRequest

data class EnableRequest (source)

Represents request frame that can be used with Fetch#enable operation call.

Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.

Link
Fetch#enable method documentation.

See Also

FetchOperations.enable

Constructors

<init>

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

Represents request frame that can be used with Fetch#enable operation call.

Properties

handleAuthRequests

val handleAuthRequests: Boolean?

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

patterns

val patterns: List<RequestPattern>?

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.