EnableRequest

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

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

Constructors

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

Types

Link copied to clipboard
class Builder

A builder for EnableRequest, which allows setting the optional parameters of the FetchDomain.enable command via a lambda.

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.