IHttpMinRequestBodyDataRateFeature.MinDataRate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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