mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-11 05:34:34 +00:00
* Cleanup of unnecessary usings * Used language keywords instead of BCL types : Object --> object * Fixed some spelling issues
29 lines
838 B
C#
29 lines
838 B
C#
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class EnableNetworkEmulationOptions
|
|
{
|
|
/// <summary>
|
|
/// Whether to emulate network outage. Defaults to false.
|
|
/// </summary>
|
|
public bool Offline { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// RTT in ms. Defaults to 0 which will disable latency throttling.
|
|
/// </summary>
|
|
public int Latency { get; set; }
|
|
|
|
/// <summary>
|
|
/// Download rate in Bps. Defaults to 0 which will disable download throttling.
|
|
/// </summary>
|
|
public int DownloadThroughput { get; set; }
|
|
|
|
/// <summary>
|
|
/// Upload rate in Bps. Defaults to 0 which will disable upload throttling.
|
|
/// </summary>
|
|
public int UploadThroughput { get; set; }
|
|
}
|
|
}
|