14 references to MinResponseDataRate
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Features\IHttpMinResponseDataRateFeature.cs (2)
8/// This feature is not available for HTTP/2 requests. Instead, use <see cref="KestrelServerLimits.MinResponseDataRate"/> 17/// This feature is not available for HTTP/2 requests. Instead, use <see cref="KestrelServerLimits.MinResponseDataRate"/>
Internal\Http\Http1Connection.cs (1)
689MinResponseDataRate = ServerOptions.Limits.MinResponseDataRate;
Internal\Http2\Http2Connection.cs (2)
201httpLimits.MinResponseDataRate, 481TimeoutControl.StartDrainTimeout(Limits.MinResponseDataRate, Limits.MaxResponseBufferSize);
Internal\Http3\Http3Connection.cs (1)
307var minDataRate = _context.ServiceContext.ServerOptions.Limits.MinResponseDataRate;
Internal\Http3\Http3ControlStream.cs (1)
55httpLimits.MinResponseDataRate,
Internal\Http3\Http3Stream.cs (1)
112context.ServiceContext.ServerOptions.Limits.MinResponseDataRate,
Internal\Http3\IHttp3Stream.cs (1)
21/// Value is driven by <see cref="KestrelServerLimits.MinResponseDataRate"/>.
KestrelServerLimits.cs (2)
323writer.WriteString(nameof(MinResponseDataRate), MinResponseDataRate?.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
305Assert.NotNull(new KestrelServerLimits().MinResponseDataRate); 306Assert.Equal(240, new KestrelServerLimits().MinResponseDataRate.BytesPerSecond); 307Assert.Equal(TimeSpan.FromSeconds(5), new KestrelServerLimits().MinResponseDataRate.GracePeriod);