8 references to RequestTimeoutAttribute
Microsoft.AspNetCore.Http (1)
Timeouts\RequestTimeoutsIEndpointConventionBuilderExtensions.cs (1)
37
builder.Add(b => b.Metadata.Add(new
RequestTimeoutAttribute
(policyName)));
Microsoft.AspNetCore.Http.Microbenchmarks (1)
RequestTimeoutsMiddlewareBenchmark.cs (1)
101
new EndpointMetadataCollection(new
RequestTimeoutAttribute
("policy1")),
Microsoft.AspNetCore.Http.Tests (6)
Timeouts\RequestTimeoutsMiddlewareTests.cs (6)
64
var endpoint = CreateEndpoint(new
RequestTimeoutAttribute
("policy2"));
112
var endpoint = CreateEndpoint(new
RequestTimeoutAttribute
("policy1"));
144
var endpoint = CreateEndpoint(new RequestTimeoutPolicy { Timeout = TimeSpan.FromSeconds(47) }, new
RequestTimeoutAttribute
("policy1"));
165
new
RequestTimeoutAttribute
("policy1"));
180
var endpoint = CreateEndpoint(new
RequestTimeoutAttribute
("policy47"));
228
var endpoint = CreateEndpoint(new
RequestTimeoutAttribute
("policy1"));