3 instantiations of HttpRequestTimeoutFeature
Microsoft.AspNetCore.Http.Connections.Tests (3)
HttpConnectionDispatcherTests.cs (3)
3521
c.Features.Set<IHttpRequestTimeoutFeature>(new
HttpRequestTimeoutFeature
());
3579
context.Features.Set<IHttpRequestTimeoutFeature>(new
HttpRequestTimeoutFeature
());
3586
context.Features.Set<IHttpRequestTimeoutFeature>(new
HttpRequestTimeoutFeature
());
7 references to HttpRequestTimeoutFeature
Microsoft.AspNetCore.Http.Connections.Tests (7)
HttpConnectionDispatcherTests.cs (7)
3522
Assert.True(((
HttpRequestTimeoutFeature
)c.Features.Get<IHttpRequestTimeoutFeature>()).Enabled);
3556
var
feature = Assert.IsType<
HttpRequestTimeoutFeature
>(context.Features.Get<IHttpContextFeature>()?.HttpContext.Features.Get<IHttpRequestTimeoutFeature>());
3580
Assert.True(((
HttpRequestTimeoutFeature
)context.Features.Get<IHttpRequestTimeoutFeature>()).Enabled);
3584
Assert.False(((
HttpRequestTimeoutFeature
)context.Features.Get<IHttpRequestTimeoutFeature>()).Enabled);
3587
Assert.True(((
HttpRequestTimeoutFeature
)context.Features.Get<IHttpRequestTimeoutFeature>()).Enabled);
3590
Assert.False(((
HttpRequestTimeoutFeature
)context.Features.Get<IHttpRequestTimeoutFeature>()).Enabled);