Share via


KestrelServerLimits.MinRequestBodyDataRate Property

Definition

Gets or sets the request body minimum data rate in bytes/second. 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 can be overridden per-request via IHttpMinRequestBodyDataRateFeature. Defaults to 240 bytes/second with a 5 second grace period.

public:
 property Microsoft::AspNetCore::Server::Kestrel::Core::MinDataRate ^ MinRequestBodyDataRate { Microsoft::AspNetCore::Server::Kestrel::Core::MinDataRate ^ get(); void set(Microsoft::AspNetCore::Server::Kestrel::Core::MinDataRate ^ value); };
public Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate MinRequestBodyDataRate { get; set; }
public Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate? MinRequestBodyDataRate { get; set; }
member this.MinRequestBodyDataRate : Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate with get, set
Public Property MinRequestBodyDataRate As MinDataRate

Property Value

Applies to