EnableRequest

data class EnableRequest(patterns: List<RequestPattern>?, handleAuthRequests: Boolean?)

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.

See also

Constructors

EnableRequest
Link copied to clipboard
fun EnableRequest(patterns: List<RequestPattern>? = null, handleAuthRequests: Boolean? = null)

Properties

handleAuthRequests
Link copied to clipboard
val handleAuthRequests: Boolean? = null
If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.
patterns
Link copied to clipboard
val patterns: List<RequestPattern>? = null
If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response.

Sources

jvm source
Link copied to clipboard