MinDataRate(Double, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of MinDataRate.
public:
MinDataRate(double bytesPerSecond, TimeSpan gracePeriod);
public MinDataRate (double bytesPerSecond, TimeSpan gracePeriod);
new Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate : double * TimeSpan -> Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate
Public Sub New (bytesPerSecond As Double, gracePeriod As TimeSpan)
Parameters
- bytesPerSecond
- Double
The minimum rate in bytes/second at which data should be processed.
- gracePeriod
- TimeSpan
The amount of time to delay enforcement of bytesPerSecond
,
starting at the time data is first read or written.