Dela via


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.

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