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)
682
MinResponseDataRate = ServerOptions.Limits.
MinResponseDataRate
;
Internal\Http2\Http2Connection.cs (2)
201
httpLimits.
MinResponseDataRate
,
481
TimeoutControl.StartDrainTimeout(Limits.
MinResponseDataRate
, Limits.MaxResponseBufferSize);
Internal\Http3\Http3Connection.cs (1)
307
var minDataRate = _context.ServiceContext.ServerOptions.Limits.
MinResponseDataRate
;
Internal\Http3\Http3ControlStream.cs (1)
55
httpLimits.
MinResponseDataRate
,
Internal\Http3\Http3Stream.cs (1)
112
context.ServiceContext.ServerOptions.Limits.
MinResponseDataRate
,
Internal\Http3\IHttp3Stream.cs (1)
21
/// Value is driven by <see cref="KestrelServerLimits.
MinResponseDataRate
"/>.
KestrelServerLimits.cs (2)
323
writer.WriteString(nameof(
MinResponseDataRate
),
MinResponseDataRate
?.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
305
Assert.NotNull(new KestrelServerLimits().
MinResponseDataRate
);
306
Assert.Equal(240, new KestrelServerLimits().
MinResponseDataRate
.BytesPerSecond);
307
Assert.Equal(TimeSpan.FromSeconds(5), new KestrelServerLimits().
MinResponseDataRate
.GracePeriod);