IHttpMinResponseDataRateFeature.MinDataRate Property

Definition

The minimum data rate in bytes/second at which the response must be received by the client. Setting this property to null indicates no minimum data rate should be enforced. This limit has no effect on upgraded connections which are always unlimited. This feature is not available for HTTP/2 requests. Instead, use MinResponseDataRate for server-wide configuration which applies to both HTTP/2 and HTTP/1.x.

C#
public Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate MinDataRate { get; set; }
C#
public Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate? MinDataRate { get; set; }

Property Value

Applies to

Product Versions
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0