3 implementations of MinDataRate
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\Http1Connection.FeatureCollection.cs (1)
19MinDataRate? IHttpMinRequestBodyDataRateFeature.MinDataRate
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
48MinDataRate? IHttpMinRequestBodyDataRateFeature.MinDataRate
Internal\Http3\Http3Stream.FeatureCollection.cs (1)
41MinDataRate? IHttpMinRequestBodyDataRateFeature.MinDataRate
11 writes to MinDataRate
InMemory.FunctionalTests (6)
Http2\Http2TimeoutTests.cs (1)
871context.Features.Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate = null;
Http3\Http3TimeoutTests.cs (1)
699context.Features.Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate = null;
RequestBodyTimeoutTests.cs (3)
32context.Features.Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate = 116context.Features.Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate = null; 163context.Features.Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate =
RequestTests.cs (1)
1634context.Features.Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate =
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Http1\Http1ConnectionTests.cs (1)
332((IFeatureCollection)_http1Connection).Get<IHttpMinRequestBodyDataRateFeature>().MinDataRate = minDataRate;
Http2\Http2HttpProtocolFeatureCollectionTests.cs (2)
55Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate = new MinDataRate(1, TimeSpan.FromSeconds(2))); 58minRateFeature.MinDataRate = null;
Http3\Http3HttpProtocolFeatureCollectionTests.cs (2)
55Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate = new MinDataRate(1, TimeSpan.FromSeconds(2))); 58minRateFeature.MinDataRate = null;
6 references to MinDataRate
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Features\IHttpMinRequestBodyDataRateFeature.cs (2)
8/// This feature is not supported for HTTP/2 requests except to disable it entirely by setting <see cref="MinDataRate"/> to <see langword="null"/> 17/// This feature is not supported for HTTP/2 requests except to disable it entirely by setting <see cref="MinDataRate"/> to <see langword="null"/>
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Http2\Http2HttpProtocolFeatureCollectionTests.cs (2)
54Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate); 61Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate);
Http3\Http3HttpProtocolFeatureCollectionTests.cs (2)
54Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate); 61Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate);