data class EmulateNetworkConditionsRequest
(source)
Represents request frame that can be used with Network#emulateNetworkConditions operation call.
Activates emulation of network conditions.
Link
Network#emulateNetworkConditions method documentation.
See Also
NetworkOperations.emulateNetworkConditions
EmulateNetworkConditionsRequest(offline: Boolean, latency: Double, downloadThroughput: Double, uploadThroughput: Double, connectionType: ConnectionType? = null)
Represents request frame that can be used with Network#emulateNetworkConditions operation call. |
val connectionType: ConnectionType?
Connection type if known. |
|
val downloadThroughput: Double
Maximal aggregated download throughput (bytes/sec). -1 disables download throttling. |
|
val latency: Double
Minimum latency from request sent to response headers received (ms). |
|
val offline: Boolean
True to emulate internet disconnection. |
|
val uploadThroughput: Double
Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling. |