Class OverrideNetworkStateCommandSettings
Override the state of navigator.onLine and navigator.connection.
public sealed class OverrideNetworkStateCommandSettings : ICommand
- Inheritance
-
OverrideNetworkStateCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
ConnectionType
Connection type if known.
[JsonPropertyName("connectionType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ConnectionType? ConnectionType { get; set; }
Property Value
DownloadThroughput
Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
[JsonPropertyName("downloadThroughput")]
public double DownloadThroughput { get; set; }
Property Value
Latency
Minimum latency from request sent to response headers received (ms).
[JsonPropertyName("latency")]
public double Latency { get; set; }
Property Value
Offline
True to emulate internet disconnection.
[JsonPropertyName("offline")]
public bool Offline { get; set; }
Property Value
UploadThroughput
Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
[JsonPropertyName("uploadThroughput")]
public double UploadThroughput { get; set; }