WgetSettings.

LimitRate Property

Summary

Limit the download speed to amount bytes per second. Amount may be expressed in bytes, kilobytes or megabytes. This is useful when, for whatever reason, you don’t want Wget to consume the entire available bandwidth.
LimitRate = new WgetLimitRateArgument(300, LimitRateUnitEnum.Kilobytes);
Assembly
Cake.Wget.dll
Namespace
Cake.Wget
Containing Type
WgetSettings

Syntax

public WgetLimitRateArgument LimitRate { get; set; }

Remarks

Note that Wget implements the limiting by sleeping the appropriate amount of time after a network read that took less time than specified by the rate. Eventually this strategy causes the TCP transfer to slow down to approximately the specified rate.However, it may take some time for this balance to be achieved, so don’t be surprised if limiting the rate does not work well with very small files.

Attributes

Type Description
WgetArgumentNameAttribute

Value

Type Description
WgetLimitRateArgument

See Also