EmulateNetworkConditionsByRuleRequest

@Serializable
data class EmulateNetworkConditionsByRuleRequest(val offline: Boolean, val matchedNetworkConditions: List<NetworkConditions>)

Request object containing input parameters for the NetworkDomain.emulateNetworkConditionsByRule command.

Constructors

Link copied to clipboard
constructor(offline: Boolean, matchedNetworkConditions: List<NetworkConditions>)

Properties

Link copied to clipboard

Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are also applied for throttling of p2p connections.

Link copied to clipboard

True to emulate internet disconnection.