IHttpMinRequestBodyDataRateFeature.MinDataRate Property

Definition

The minimum data rate in bytes/second at which the request body must be sent 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 supported for HTTP/2 requests except to disable it entirely by setting MinDataRate to null Instead, use MinRequestBodyDataRate 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