4 references to CreateMiddlewareWithCancel
Microsoft.AspNetCore.Http.Tests (4)
Timeouts\RequestTimeoutsMiddlewareTests.cs (4)
189var middleware = CreateMiddlewareWithCancel(expectedTimeSpan: 10, defaultTimeout: 10); 205var middleware = CreateMiddlewareWithCancel(expectedTimeSpan: 10, defaultTimeout: 10); 222var middleware = CreateMiddlewareWithCancel(expectedTimeSpan: 1, defaultTimeout: 10); 242var middleware = CreateMiddlewareWithCancel(expectedTimeSpan: 10, defaultTimeout: 10, cancelledCts: false);