Share via


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.

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

Property Value

Applies to