EnableParameter

@Serializable
data class EnableParameter(val patterns: List<Fetch.RequestPattern>? = null, val handleAuthRequests: Boolean? = null)

Constructors

Link copied to clipboard
constructor(patterns: List<Fetch.RequestPattern>? = null, handleAuthRequests: Boolean? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard

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.