chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network / EmulateNetworkConditionsRequest

EmulateNetworkConditionsRequest

data class EmulateNetworkConditionsRequest

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

Constructors

<init>

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

EmulateNetworkConditionsRequest(offline: Boolean, latency: Double, downloadThroughput: Double, uploadThroughput: Double, connectionType: ConnectionType? = null)

Properties

connectionType

Connection type if known.

val connectionType: ConnectionType?

downloadThroughput

Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.

val downloadThroughput: Double

latency

Minimum latency from request sent to response headers received (ms).

val latency: Double

offline

True to emulate internet disconnection.

val offline: Boolean

uploadThroughput

Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.

val uploadThroughput: Double