MinDataRate(Double, TimeSpan) Constructor

Definition

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.

Applies to